Example #1
0
    protected void Page_Load(object sender, EventArgs e)
    {
        int x = Convert.ToInt32(Request.QueryString["OGRID"].ToString());

        TxtId.Text    = x.ToString();
        TxtId.Enabled = false;
        if (Page.IsPostBack == false)
        {
            List <EntityOgrenci> OgrList = BLLOgrenci.BllDetay(x);
            TxtAd.Text       = OgrList[0].OrgAd.ToString();
            TxtSoyad.Text    = OgrList[0].OgrSoyad.ToString();
            TxtNumara.Text   = OgrList[0].OgrNumara.ToString();
            TxtFotograf.Text = OgrList[0].OgrFotograf.ToString();
            TxtSifre.Text    = OgrList[0].OgrSifre.ToString();
        }
    }
Example #2
0
    protected void Page_Load(object sender, EventArgs e)
    {
        int x = Convert.ToInt32(Request.QueryString["OGRID"].ToString());

        Txtıd.Text    = x.ToString();
        Txtıd.Enabled = false;

        if (Page.IsPostBack == false)
        {
            List <EntityOgrenci> OgrList = BLLOgrenci.BllDetay(x);
            TxtAd.Text     = OgrList[0].AD.ToString();
            TxtSoyad.Text  = OgrList[0].SOYAD.ToString();
            TxtNumara.Text = OgrList[0].NUMARA.ToString();
            TxtFoto.Text   = OgrList[0].FOTOGRAF.ToString();
            TxtSifre.Text  = OgrList[0].SIFRE.ToString();
        }
    }