Ejemplo n.º 1
0
    protected void Page_Load(object sender, EventArgs e)
    {
        int OgrenciId = Convert.ToInt32(Request.QueryString["OgrenciID"].ToString());

        TxtOgrenciId.Text    = OgrenciId.ToString();
        TxtOgrenciId.Enabled = false;

        if (Page.IsPostBack == false)
        {
            List <EntityOgrenci> ogrencidetay = BLLOgrenci.OgrenciDetay(OgrenciId);

            TxtOgrenciAd.Text       = ogrencidetay[0].OgrenciAd.ToString();
            TxtOgrenciSoyad.Text    = ogrencidetay[0].OgrenciSoyad.ToString();
            TxtOgrenciNumara.Text   = ogrencidetay[0].OgrenciNumara.ToString();
            TxtOgrenciMail.Text     = ogrencidetay[0].OgrenciMail.ToString();
            TxtOgrenciSifre.Text    = ogrencidetay[0].OgrenciSifre.ToString();
            TxtOgrenciFotograf.Text = ogrencidetay[0].OgrenciFotograf.ToString();
            TxtOgrenciBakiye.Text   = ogrencidetay[0].OgrenciBakiye.ToString();
        }
    }