I'm kind of new to ASP.NET and I would like to know how it's possible to add a Picture on a TableCell. What I am doing is the following :
I have two pictures that Represent Male & Female. I want to load a picture of a male if "sex" = 1 , if it's "2", display the female picture.
Easiest way is to just add IMG tag.
string.Format
will substitute {0} with the second parameter - which will select either male or female based on value of "blaa".If you use the code as is - you should place the images into the same directory as your ASPX file.