Rank: Newbie Groups: Member
Joined: 5/5/2008 Posts: 9
|
How can I insert an image into a grid cell. I need a red cross to be dispayed or a green tick image depending on what is coming back from database. If PaymentReceived column value is true, then I want to display tick image, if PaymentReceived column value is false I want to display red cross in the cell. I can do it in asp:GridView using DataBinding like that ImageUrl='<%# bool.Parse(Eval("IsPaymentReceived").ToString()) ? "tick.jpg" : "cross.jpg" %>'
How do I do the same with your grid?
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,193
|
|