Friday, January 7, 2011

Add null value of datetime in sqlparameter.

SqlCommand cmd = new SqlCommand ("insert into values(@date)");
cmd.Paremeters .Add("@date",SqlDateTime.Null);

No comments:

Post a Comment