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.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Lisa MPosted Apr 28, 2009, 3:48 PM
SreekanthPosted Apr 27, 2009, 6:51 AM
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....
RameshPosted Apr 27, 2009, 6:03 AM