Tuesday 12 March 2013

Hide HyperLink if Database cell is NULL


Visible ='<%# Eval("a") == System.DbNull.Value ? False : True %>'

1 comment:

  1. More shorter form :)
    Visible ='<%# Eval("a") != System.DbNull.Value %>'

    ReplyDelete