Ejemplo n.º 1
0
 void LoadLabel()
 {
     BenhNhanBLL bn = new BenhNhanBLL();
     lblMaBN.Text = this.maBN;
     lblTenBN.Text = bn.BenhNhanSelectByID(maBN).Rows[0]["TenBenhNhan"].ToString();
 }
Ejemplo n.º 2
0
 void LoadLabel()
 {
     BenhNhanBLL bn = new BenhNhanBLL();
     lblMaBN.Text = this.maBN;
     lblTenBN.Text = bn.BenhNhanSelectByID(maBN).Rows[0]["TenBenhNhan"].ToString();
     lblDiaChi.Text = bn.BenhNhanSelectByID(maBN).Rows[0]["DiaChi"].ToString();
     lblNgaySinh.Text = bn.BenhNhanSelectByID(maBN).Rows[0]["NgaySinh"].ToString();
     lblCMND.Text = bn.BenhNhanSelectByID(maBN).Rows[0]["CMND"].ToString();
     lblGioiTinh.Text = bn.BenhNhanSelectByID(maBN).Rows[0]["GioiTinh"].ToString();
     lblSDT.Text = bn.BenhNhanSelectByID(maBN).Rows[0]["SDT"].ToString();
     lblPhongKham.Text = bn.BenhNhanSelectByID(maBN).Rows[0]["TenPhongKham"].ToString();
 }