Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Bind CheckBox To Null Column
Message
De
18/05/2009 18:06:25
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
 
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Divers
Thread ID:
01400404
Message ID:
01400533
Vues:
25
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform