GMDatePicker
-
How iam using GMDatePicker for entering the date time .now my problem is if i selct that as null its sotored in to data base as 01-01-1900 instead of that ineed to store null value how can i do that
Kiran Kumar.P
-
How iam using GMDatePicker for entering the date time .now my problem is if i selct that as null its sotored in to data base as 01-01-1900 instead of that ineed to store null value how can i do that
Kiran Kumar.P
I don't think even you assign Null to a DateTime variable since it will elicit a compile time error. Thatz why perhaps, we have a
DateTime.MinValue
in existence.Vasudevan Deepak Kumar Personal Homepage Tech Gossips
-
I don't think even you assign Null to a DateTime variable since it will elicit a compile time error. Thatz why perhaps, we have a
DateTime.MinValue
in existence.Vasudevan Deepak Kumar Personal Homepage Tech Gossips
Hai how can i insert null if user is not insert any value that is myquestion
Kiran Kumar.P
-
Hai how can i insert null if user is not insert any value that is myquestion
Kiran Kumar.P
U can't insert NULL For Datetime datatype. Check out if Date is "01-01-1900" then display "" Instead of "01-01-1900" Best Regard Pathan
---------------------------------------------------
-
Hai how can i insert null if user is not insert any value that is myquestion
Kiran Kumar.P
NULL is not an allowed value for DateTime. Your best bet is the predefined constant
DateTime.MinValue
.Vasudevan Deepak Kumar Personal Homepage Tech Gossips