private void LoadKrmand()
        {
            Karmand stu = kr.FindByUserName("karim");

            lblID.InnerText           = stu.EID.ToString();
            lblPersonalCode.InnerText = stu.PersonalCode.ToString();
            lblFirstName.InnerText    = stu.FirstName;
            lblLastName.InnerText     = stu.LastName;

            tbxBirthYear.Value = stu.BirthDate.Substring(0, 4);

            tbxFixTel.Value = stu.PhoneNumber;
            tbxMobile.Value = stu.Mobile;
            tbxEmail.Value  = stu.Email;
        }
Beispiel #2
0
        protected void Page_Load(object sender, EventArgs e)
        {
            Karmand stu = kr.FindByUserName("moosa");

            lblID.InnerText           = stu.EID.ToString();
            lblPersonalCode.InnerText = stu.PersonalCode.ToString();
            lblFirstName.InnerText    = stu.FirstName;
            lblLastName.InnerText     = stu.LastName;

            lblBirthYear.InnerText = stu.BirthDate.Substring(0, 4);

            lblFixTel.InnerText = stu.PhoneNumber;
            lblMobile.InnerText = stu.Mobile;
            lblEmail.InnerText  = stu.Email;

            imgUserPic.Src = stu.Image;
        }