DataList : DataBinding : Visible
I am trying to databind a Button.Visible member to a bit field from a query from sql server.
Bit field values are 1 and 0 and Visible is a bool so I get a cast exception. Is there a way to format the value to true/false or someone I could do this in the databinding field?
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

sofialimohd11 reputationPosted Jul 27, 2004, 8:51 PM EDT
nick 043 reputationPosted Jul 29, 2004, 9:54 AM EDT