i get this error when a checkbox is checked
Server Error in '/WebSite6' Application. Column name or number of supplied values does not match table definition. 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.Data.SqlClient.SqlException: Column name or number of supplied values does not match table definition.
Source Error:
Line 63: cmd.Parameters.AddWithValue("@accepted_clylinder", "{'" + number.Trim() + "'}"); Line 64: con.Open(); Line 65: cmd.ExecuteNonQuery(); Line 66: con.Close(); Line 67: }
Please find attached My Code
Attachment: Error_File.zip