Пример #1
0
        private void btn_NotGirişi_Click(object sender, EventArgs e)
        {
            frm_NotGir_Index frm6 = new frm_NotGir_Index();

            frm6.ShowDialog();
            frm6.Close();
        }
Пример #2
0
        private void frm_Not_Ekle_Duzenle_FormClosed(object sender, FormClosedEventArgs e)
        {
            this.Close();
            this.Hide();
            frm_NotGir_Index frm = (frm_NotGir_Index)Application.OpenForms["frm_NotGir_Index"];

            str = @"SELECT Ogrenci_Not.Not_ID AS 'ID',
                    Ogrenci_Kaydi.No AS 'Ogr No',
                    Ogrenci_Kaydi.AdSoyad AS 'Ad Soyad',
                    Ders_Bilgi.DersNo AS 'Ders Kodu',
                    Ders_Bilgi.DersAdi AS 'Ders Adı',
                    Ogrenci_Not.Vize AS '1. Vize',
                    Ogrenci_Not.Vizee AS '2.Vize',
                    Ogrenci_Not.Final AS 'Final',
                    Ogrenci_Not.Butunleme AS 'Büt.'
                    FROM Ogrenci_Not
                    INNER JOIN Ogrenci_Kaydi ON Ogrenci_Not.Ogr_ID = Ogrenci_Kaydi.Ogr_ID
                    INNER JOIN Ders_Bilgi ON Ders_Bilgi.Ders_ID = Ogrenci_Not.Ders_ID";
            frm.dataGridView1.DataSource = DBLayer.TabloSorgula(str);
        }