M
mcod3r
i'm using an sqlcommand like this
"update mytable set myfielddatetime='" +
DatetTime.Now.ToString("G") + "'"
but when i execute it, i get an exception
(System.Data.SqlClient.SqlException)
that tell me : converting from char to datetime generated
a datetime overflow
how can i execute that query ?
thanks a lot
"update mytable set myfielddatetime='" +
DatetTime.Now.ToString("G") + "'"
but when i execute it, i get an exception
(System.Data.SqlClient.SqlException)
that tell me : converting from char to datetime generated
a datetime overflow
how can i execute that query ?
thanks a lot