Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Binding Checkbox to nchar column
Message
De
01/02/2010 00:54:25
 
 
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Versions des environnements
Environment:
C# 2.0
Divers
Thread ID:
01445996
Message ID:
01446840
Vues:
29
>The logic of this particular application is that the check box is bound to column ProjectStatus. Project status can be either Active (1) or InActive (0). Usually when user adds a new project it would be active (it would not make much sense to add an inactive project). This is why I set a new record to value 1.

Ah, well ... in that case, it also makes sense that the column in the database not allow NULLs.

>And I agree that I need to learn how to override some existing methods of .NET framework or create my own in a sub-class (as you did). I have another 30 years before I can retire so I have time <g>.

30 years!!! I thought you were older than me and I don't envision myself working my butt off for another 30 years!! I doubt if I'll even be able to still think straight 30 years from now. <g>

~~Bonnie
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform