> hey all,
> i having a problem binding a sql text field to a label inside a DataList.
[quoted text clipped - 6 lines]
> thanks,
> rodchar
Instead of the null try to compare with the DBNull.Value
DBNull is used for database null validation
rodchar - 09 Jun 2007 03:21 GMT
Thank you that worked great.
> > hey all,
> > i having a problem binding a sql text field to a label inside a DataList.
[quoted text clipped - 9 lines]
> Instead of the null try to compare with the DBNull.Value
> DBNull is used for database null validation
rodchar - 11 Jun 2007 17:09 GMT
why wouldn't using true work either?
<asp:Hyperlink ID="Hyperlink1" runat="server" Text='<%#
(Eval("FollowUp")==true)?" ":"View" %>' /><br />
> Thank you that worked great.
>
[quoted text clipped - 11 lines]
> > Instead of the null try to compare with the DBNull.Value
> > DBNull is used for database null validation