Exemplo n.º 1
0
 private void dataGridView1_CellClick(object sender, DataGridViewCellEventArgs e)
 {
     if (e.ColumnIndex == 7)
     {
         yonetim.OdemeGuncelle(dataGridView1.CurrentRow.Cells[0].Value.ToString(), dataGridView1.CurrentRow.Cells[3].Value.ToString(), dataGridView1.CurrentRow.Cells[4].Value.ToString(), dataGridView1.CurrentRow.Cells[5].Value.ToString(), dataGridView1.CurrentRow.Cells[6].Value.ToString());
         MessageBox.Show("Düzenleme Başarılı");
     }
     else if (e.ColumnIndex == 8)
     {
         yonetim.YurtSil(dataGridView1.CurrentRow.Cells[0].Value.ToString());
         MessageBox.Show("Silme Başarılı");
     }
 }