C-sharpAsk
This site contains all the question regarding c#sharp and dot-net
Friday, January 7, 2011
Add null value of datetime in sqlparameter.
Sql
Comma
nd
cmd =
new
SqlCommand
(
"insert into values(@date)"
);
cmd.Paremeters .
Add
(
"@date"
,
SqlDateTime
.
Null
);
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment