private void ogretmen_Load(object sender, EventArgs e) { label1.Text = giris.adi + " " + giris.soyadi; ogrtmn.dersler(giris.ogrid); dataGridView1.DataSource = ogrtmn.dataTable3; ogrtmn.danisman_ders_program(giris.ogrid); dataGridView4.DataSource = ogrtmn.dataTable6; }
anatablo ogrgetir = new anatablo();//ogr nesnesi oluşturuluyor. private void Form1_Load(object sender, EventArgs e) { ogrgetir.danisman_ders_program(giris.dnsid); dataGridView4.DataSource = ogrgetir.dataTable6; label1.Text = giris.adi + " " + giris.soyadi; ogrgetir.dersler(giris.dnsid); dataGridView3.DataSource = ogrgetir.dataTable3; //--------------------------------------------- ogrgetir.data(giris.d_bolum); dataGridView1.DataSource = ogrgetir.dataTable1; }