Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SqlConnection pripojeni = new SqlConnection(pripojovaci_retezec);
- string prikaz1 = "DELETE FROM Zakaznici WHERE= @ID";
- string prikaz2 = "DELETE FROM Zakazky Where= @cizi_klic";
- SqlCommand cmd1 = new SqlCommand(prikaz1, pripojeni);
- SqlCommand cmd2 = new SqlCommand(prikaz2, pripojeni);
- cmd1.Parameters.AddWithValue("@ID", Convert.ToInt32(textBox1.Text));
- cmd2.Parameters.AddWithValue("@cizi_klic", Convert.ToInt32(textBox1.Text));
- text = Convert.ToInt32(textBox1.Text);
Add Comment
Please, Sign In to add comment