Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bind CheckBox To Null Column
Message
From
18/05/2009 18:06:25
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
 
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Miscellaneous
Thread ID:
01400404
Message ID:
01400533
Views:
26
I don't remember where I saw it Kevin, but there is a way to make a checkbox be tri-state. I suspect if you google that, you might find your answer in what you need.
Tim

>I want to bind a checkbox to a null column in a dataset. Some of the values in the data are null:
>
>
>chkDropShip.DataBindings.Add("Checked", _dsResults, sTableName + ".DropShip");
>
>
>I get "Object cannot be cast from DBNull to other types"
>
>How do I correctly bind this?
Timothy Bryan
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform