When I execute my code below, this error message occurs:
"An exception of type \'System.Data.SqlClient.SqlException\' occurred in System.Data.dll bu
use try-catch to see real error occurred on you
try { //Your insert code here } catch (System.Data.SqlClient.SqlException sqlException) { System.Windows.Forms.MessageBox.Show(sqlException.Message); }