Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Binding Checkbox to nchar column
Message
From
01/02/2010 07:39:23
 
 
To
01/02/2010 07:19:35
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
General information
Forum:
ASP.NET
Category:
Forms
Environment versions
Environment:
C# 2.0
Miscellaneous
Thread ID:
01445996
Message ID:
01446881
Views:
19
>>>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
>I was thinking that too (not about you, but about me) but was afraid to say it. :-) I don't know if in 30 years I want to think straight enough to be writing code. Especially thinking about what a computer would look and act like then.

In my case I'm guessing that it would be clever enough to go away and hide when it saw me coming :-}
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform