protected void Page_Load(object sender, EventArgs e)
 {
     if (Page.IsPostBack == false)
     {
         nid = Convert.ToInt32(Request.QueryString["NOTID"].ToString());
         DataSet1TableAdapters.OgrNotlarTableAdapter dt = new DataSet1TableAdapters.OgrNotlarTableAdapter();
         TxtOgrId.Text      = dt.NotGetir2(nid)[0].OGRENCIID.ToString();
         TxtOgrAdSoyad.Text = dt.NotGetir2(nid)[0].OGRENCIADSOYAD.ToString();
         TxtDersAd.Text     = dt.NotGetir2(nid)[0].DERSAD.ToString();
         TxtSinav1.Text     = dt.NotGetir2(nid)[0].SINAV1.ToString();
         TxtSinav2.Text     = dt.NotGetir2(nid)[0].SINAV2.ToString();
         TxtSinav3.Text     = dt.NotGetir2(nid)[0].SINAV3.ToString();
         TxtOrt.Text        = dt.NotGetir2(nid)[0].ORTALAMA.ToString();
         TxtDurum.Text      = dt.NotGetir2(nid)[0].DURUM.ToString();
     }
 }
Beispiel #2
0
        protected void Page_Load(object sender, EventArgs e)
        {
            if (Page.IsPostBack == false)
            {
                nid = Convert.ToInt32(Request.QueryString["notid"].ToString());

                DataSet1TableAdapters.OgrNotlarTableAdapter dt = new DataSet1TableAdapters.OgrNotlarTableAdapter();
                TxtOgrId.Text  = dt.NotGetir2(nid)[0].ogrid.ToString();
                TxtOgrAd.Text  = dt.NotGetir2(nid)[0].OGRENCİADSOYAD;
                TxtDersAd.Text = dt.NotGetir2(nid)[0].dersad;
                TxtSnv1.Text   = dt.NotGetir2(nid)[0].sinav1.ToString();
                TxtSnv2.Text   = dt.NotGetir2(nid)[0].sinav2.ToString();
                TxtSnv3.Text   = dt.NotGetir2(nid)[0].sinav3.ToString();
                TxtOrt.Text    = dt.NotGetir2(nid)[0].ort.ToString();
                TextBox1.Text  = dt.NotGetir2(nid)[0].durum.ToString();
            }
        }
Beispiel #3
0
        protected void Page_Load(object sender, EventArgs e)
        {
            if (Page.IsPostBack == false)
            {
                nid = Convert.ToInt32(Request.QueryString["NotID"].ToString());

                DataSet1TableAdapters.OgrNotlarTableAdapter dt = new DataSet1TableAdapters.OgrNotlarTableAdapter();
                TxtDersAdi.Text    = dt.NotGetir2(nid)[0].DersinAdı.ToString();
                TxtOgrID.Text      = dt.NotGetir2(nid)[0].OgrenciID.ToString();
                TxtOgrAdSoyad.Text = dt.NotGetir2(nid)[0].ÖğrenciAdSoyad.ToString();
                TxtVize.Text       = dt.NotGetir2(nid)[0].Vize.ToString();;
                TxtFinal.Text      = dt.NotGetir2(nid)[0].Final.ToString();
                TxtOdev.Text       = dt.NotGetir2(nid)[0].Odev.ToString();
                TxtQuiz1.Text      = dt.NotGetir2(nid)[0].Quiz1.ToString();
                TxtQuiz2.Text      = dt.NotGetir2(nid)[0].Quiz2.ToString();
                TxtQuiz3.Text      = dt.NotGetir2(nid)[0].Quiz3.ToString();
                TxtQuiz4.Text      = dt.NotGetir2(nid)[0].Quiz4.ToString();
                TxtOrt.Text        = dt.NotGetir2(nid)[0].Ortalama.ToString();
                TxtSonuc.Text      = dt.NotGetir2(nid)[0].Sonuc.ToString();
            }
        }