N
Narshe
If I use this simple code
SqlParameter param = new SqlParameter( "@param", SqlDbType.DateTime );
param.Value = System.DateTime.Now;
param.Value is "11/2/2005" rather than "11/2/2005 10:42:15 AM"
How do I get it so the sql value is the same as the C# value, and not
truncated?
SqlParameter param = new SqlParameter( "@param", SqlDbType.DateTime );
param.Value = System.DateTime.Now;
param.Value is "11/2/2005" rather than "11/2/2005 10:42:15 AM"
How do I get it so the sql value is the same as the C# value, and not
truncated?