i have a datetime column in my sql table.
i need to insert null into the table from c#page.
like :insert into TABLE (date)value('NULL' ).
i cannot insert sqldatatime.null. because it is 1/1/1900. i need NULL..
help me plese
i have a datetime column in my sql table.
i need to insert null into the table from c#page.
like :insert into TABLE (date)value('NULL' ).
i cannot insert sqldatatime.null. because it is 1/1/1900. i need NULL..
help me plese
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Lisa M41 reputationPosted Apr 28, 2009, 11:48 AM EDT
Ramesh38 reputationPosted Apr 27, 2009, 2:03 AM EDT
Sreekanth199 reputationPosted Apr 27, 2009, 2:51 AM EDT
but ramesh if we crate dattetime filed to already existing table.our datatetime filed is filled with 'NULL'. i need the same result wen entering a date.My pblm is
i have form with dateof birthetering filed.There is no validation for this filed.
so wen saving data withou this data(DOB).
i need null value.
any other deafult datetime is avalid date and.
in my form his birthday alert will become wrong..
thanks for u response. and i think now u got my requirement.
pls help....