private void btnsil_Click(object sender, EventArgs e) { ds.OgrSil(Convert.ToInt32(txtid.Text)); MessageBox.Show("Öğrenci silme işlemi başarılı", "Bilgi", MessageBoxButtons.OK, MessageBoxIcon.Information); }