Reply to thread

Assuming that the ID column is numeric you may want to get rid of the single quotes and converting the value to Int, Im not sure of any J# syntax....

 

SqlCommand myCommand = new SqlCommand("Insert into employee(id, name, pass) values(" + Convert.ToInt32(TextBoxID.Text) + "," + TextBox1.Text + "," + TextBox2.Text + ")", sqlConnection1);


Back
Top