I am getting a strange error when trying to update a field in my data table. Was happeining intermittingly, but now for every record:


Line 211: DataSetAttendance1.Attendance.Rows(0)("Description") = Trim(txt_description.Text)
Line 212: SqlDataAdapter2.Update(DataSetAttendance1)

Error:

Input string was not in a correct format.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.FormatException: Input string was not in a correct format.


Any clues?

Thanks