I\'m doing a practice project for training; my handler has specifically forbidden paramaterization and security-oriented coding for now, in the interest of getting the basic
You have to pass the value of the Text property of the TextBox controls to the query not the "TextBox.Text" as a string:
string updateQuery = "UPDATE ProductInstance SET CustId = " + TextBox1.Text + ", CustName = '" + TextBox2.Text + "', .... " + x;
NOTE:
If the value of the "Text" property was a string the you have to place a ' on the two sides of the value like in the example above.