Hi,
the following error was shown in my coding.please do the needful.
Error:-
Arithmetic overflow error converting expression to data type datetime.
The statement has been terminated.
Here is my coding.please find it.
cmd.ExecuteNonQuery ();// error pointout to the below line.
SqlCommand cmd = new SqlCommand("insert into tbl_temp (invoiceno,particulars,quantity,perprice,amount,orderno,compname,invoicedate,ondate,invoiceid)values(@invoiceno,@particulars,@quantity,@perprice,@amount,@orderno,@compname,@invoicedate,@ondate,@invoiceid)", con);
Best,
Sudheep.