示例#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].Ad.ToString();
                TxtSoyad.Text  = OgrList[0].Soyad.ToString();
                TxtNumara.Text = OgrList[0].Numara.ToString();
                TxtSifre.Text  = OgrList[0].Sifre.ToString();
                TxtFoto.Text   = OgrList[0].Fotograf.ToString();
            }
        }