![]() |
اقتباس:
private void button6_Click(object sender, EventArgs e) ** if (MessageBox.Show("هل انت متأكد من الحذف", "تحذير", MessageBoxButtons.YesNo) == DialogResult.Yes)//رسالة التاكيد قبل الحذف ** cmd1.CommandText = "DELETE*FROM Texam where id="+textBox2.Text; // cmd1.CommandText = "delete * from Texam where id=" + textBox2.Text; cmd1.Connection = con; cmd1.Connection.Open(); cmd1.ExecuteNonQuery(); cmd1.Connection.Close(); // clearform(); // Close(); } } ************************************************** ** |
الموضوع ليه فترة لكن الحق اني من وقتها و اني خاش في السي شارب
شنو الكود هذا يا ابو نور |
| الساعة الآن 12:49 PM. |
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd