vbnov
May 23rd, 2006, 11:57 AM
I have a gridview with two hyperlink columns one of which is going to display a picture and other a constant text. Based on a field value I'm supposed to hide the picture and the hyperlink which has a constant text if the field value is null.
Anybody have any ideas on how to do that.
Help is greatly appreciated. Thnx.
Note:
I did the same with the datagrid with VS 2003.
I was able to check the field value in the Itemdatabound event of the datagrid and used the code
e.item.cells(0).controls(0).visible = false
But this logic doesn't work with VS 2005.
Anybody have any ideas on how to do that.
Help is greatly appreciated. Thnx.
Note:
I did the same with the datagrid with VS 2003.
I was able to check the field value in the Itemdatabound event of the datagrid and used the code
e.item.cells(0).controls(0).visible = false
But this logic doesn't work with VS 2005.