2
Answers

GUI Ado.net connectivity with SQL

shahzeb ahmed

shahzeb ahmed

12y
2.4k
1

  hi  everyone,
  i need ur help in the following code as i had tried this code many times but doesn't got the desired results. so plz help me out .


   SqlCommand cmd1 = new SqlCommand("UPDATE entry SET stock = stock - '"+textBox22.Text+ "'Where name='" + textBox1.Text + "'", conn);
Answers (2)