private void FillData() { try { Admins vcontroller = new Admins(); Entities.KhachHang vusers = new Entities.KhachHang(); string errMsg = string.Empty; vusers = vcontroller.getby_tk_khachhang_ID(Request.QueryString["ID"], ref errMsg); txttendangnhap.Text = vusers.Tendangnhap; txttendangnhap.Enabled = false; txtmatkhau.Text = vusers.Matkhau; txtemail.Text = vusers.Email; ddlgioitinh.SelectedIndex = vusers.Gioitinh; txthoten.Text = vusers.Hoten; txtsdt.Text = vusers.Sodienthoai; txtdiachi.Text = vusers.Diachi; valtrangthai = vusers.Trangthai; } catch (Exception ex) { Response.Write(ex.Message); } }