Exemplo n.º 1
0
 private void dataGridView1_CellContentClick_1(object sender, DataGridViewCellEventArgs e)
 {
     ogrgetir.secilmismi(Convert.ToInt16(dataGridView1.CurrentRow.Cells[0].Value));
     if (ogrgetir.dataSet8.Tables[0].Rows.Count != 0)
     {
         if (dataGridView1.CurrentRow.Cells[6].Selected)
         {
             Form1.ogr_bolumid = Convert.ToInt16(dataGridView1.CurrentRow.Cells[1].Value);
             Form1.ogr_adi     = dataGridView1.CurrentRow.Cells[2].Value.ToString();
             Form1.ogr_soyadi  = dataGridView1.CurrentRow.Cells[3].Value.ToString();
             Form1.ogr_donem   = Convert.ToInt16(dataGridView1.CurrentRow.Cells[5].Value);
             Form1.ogr_ogrid   = Convert.ToInt16(dataGridView1.CurrentRow.Cells[0].Value);
             danisman_ogrenci_detay ogrdetay = new danisman_ogrenci_detay();
             ogrdetay.Show();
         }
     }
     else
     {
         label3.Text = "Öğrenci ders seçimi yapmamıştır.";
     }
 }