Hi!
I have created an SqlCommand object and I have set some parameters to it...
One of the parameters is of the DateTime type;
here is the code:
sqlCommand.Para meters[0].Value = DateTime.Parse( this.DateTextBo x.Text);
sqlCommand.Exec uteNonReader();
I get the error:
Arithmetic overflow error converting expression to data type datetime
thanks,
saso
I have created an SqlCommand object and I have set some parameters to it...
One of the parameters is of the DateTime type;
here is the code:
sqlCommand.Para meters[0].Value = DateTime.Parse( this.DateTextBo x.Text);
sqlCommand.Exec uteNonReader();
I get the error:
Arithmetic overflow error converting expression to data type datetime
thanks,
saso
Comment