Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Binding Checkbox to nchar column
Message
 
 
À
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:
01446886
Vues:
23
>>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>
>

I am probably older than you but have not saved for retirement so the only way for me to live is to work <g>.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform