Monday, April 15, 2013

Hide Null value hyperlink Gridview

Visible ='<%# Eval("a") == System.DbNull.Value ? False : True %>'
 
 
Here On visible we check if the value is null then visible false otherwise it is true means visible.

No comments:

Post a Comment