How do I fix Coversion failed when converting date and/or time from character string – Asp.net
con.open(); SqlCommamd comm = new SqlCommand("Insert into Debt_Tab values('"+Textbox1.text+"')",con); comm.ExecuteNonQuery(); Textbox1 I is declared as a DateTime in my Sql table.