An exception of type 'System.FormatException' occurred in mscorlib.dll but was not handled in user code
error is above
In this line
cmd.Parameters.AddWithValue("@EMP_ATTENDANCE", Convert.ToDateTime(txt_attendance.Text));
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.

Mohsin ArifPosted Apr 29, 2019, 2:01 AM