GUI Ado.net connectivity with SQL
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);