Ejemplo n.º 1
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();
            lblGioiTinh.Text = bn.BenhNhanSelectByID(maBN).Rows[0]["GioiTinh"].ToString();
        }
Ejemplo n.º 2
0
        void LoadLabel()
        {
            BenhNhanBLL bn = new BenhNhanBLL();

            lblMaBN.Text  = this.maBN;
            lblTenBN.Text = bn.BenhNhanSelectByID(maBN).Rows[0]["TenBenhNhan"].ToString();
        }