public bool Delete()
        {
            object[] arrvalue = new object[2] {
                "@BenhNhanID", _BenhNhanID
            };
            object output1 = null;
            bool   k       = DB_SQL.EXECUTE_PROCE("BenhNhan_Delete", arrvalue);

            return(k);
        }
Beispiel #2
0
        public bool Update()
        {
            object[] arrvalue = new object[4] {
                "@DoiTuongID", _DoiTuongID,
                "@TenDoiTuong", _TenDoiTuong
            };
            bool k = DB_SQL.EXECUTE_PROCE("DoiTuong_Update", arrvalue);

            return(k);
        }
Beispiel #3
0
        public bool Delete()
        {
            object[] arrvalue = new object[2] {
                "@DoiTuongID", _DoiTuongID
            };
            object output1 = null;
            bool   k       = DB_SQL.EXECUTE_PROCE("DoiTuong_Delete", arrvalue);

            return(k);
        }
Beispiel #4
0
        public bool Delete()
        {
            object[] arrvalue = new object[2] {
                "@LanKhamID", _LanKhamID
            };
            object output1 = null;
            bool   k       = DB_SQL.EXECUTE_PROCE("LanKham_Delete", arrvalue);

            return(k);
        }
        public bool DoiMatKhau()
        {
            object[] arrvalue = new object[4] {
                "@BacSiID", _BacSiID,
                "@MatKhau", _MatKhau
            };

            bool k = DB_SQL.EXECUTE_PROCE("BacSi_DoiMatKhau", arrvalue);

            return(k);
        }
Beispiel #6
0
        public bool Update()
        {
            object[] arrvalue = new object[6] {
                "@PhongID", _PhongID,
                "@TenPhong", _TenPhong,
                "@DiaChi", _DiaChi
            };
            bool k = DB_SQL.EXECUTE_PROCE("Phong_Update", arrvalue);

            return(k);
        }
Beispiel #7
0
        public bool Update()
        {
            object[] arrvalue = new object[8] {
                "@TienNop_LanKhamID", _TienNop_LanKhamID,
                "@LanKhamID", _LanKhamID,
                "@ThucThu", _ThucThu,
                "@LyDoThu", _LyDoThu
            };
            bool k = DB_SQL.EXECUTE_PROCE("TienNop_LanKham_Update", arrvalue);

            return(k);
        }
Beispiel #8
0
        public bool Update()
        {
            object[] arrvalue = new object[12] {
                "@DichVuID", _DichVuID,
                "@MaDichVu", _MaDichVu,
                "@TenDichVu", _TenDichVu,
                "@DonViTinh", _DonViTinh,
                "@DonGia", _DonGia,
                "@PhongID", _PhongID
            };
            bool k = DB_SQL.EXECUTE_PROCE("DichVu_Update", arrvalue);

            return(k);
        }
        public bool Update()
        {
            object[] arrvalue = new object[14] {
                "@BenhNhanID", _BenhNhanID,
                "@HoTen", _HoTen,
                "@DiaChi", _DiaChi,
                "@DienThoai", _DienThoai,
                "@Tuoi", _Tuoi,
                "@NgaySinh", _NgaySinh,
                "@GioiTinh", _GioiTinh
            };
            bool k = DB_SQL.EXECUTE_PROCE("BenhNhan_Update", arrvalue);

            return(k);
        }
Beispiel #10
0
        public bool Update()
        {
            object[] arrvalue = new object[18] {
                "@LanKhamID", _LanKhamID,
                "@MaBenhNhan", _MaBenhNhan,
                "@BacSiGuiID", _BacSiGuiID,
                "@DoiTuongID", _DoiTuongID,
                "@SoBH", _SoBH,
                "@ChuanDoan", _ChuanDoan,
                "@NgayKham", _NgayKham,
                "@GioKham", _GioKham,
                "@SoKham", _SoKham
            };
            bool k = DB_SQL.EXECUTE_PROCE("LanKham_Update", arrvalue);

            return(k);
        }
Beispiel #11
0
        public bool Update()
        {
            object[] arrvalue = new object[20] {
                "@DichVu_LanKhamID", _DichVu_LanKhamID,
                "@DichVuID", _DichVuID,
                "@MaLanKham", _MaLanKham,
                "@BacSiGuiID", _BacSiGuiID,
                "@SoLuong", _SoLuong,
                "@DonGia", _DonGia,
                "@SoLuongHuy", _SoLuongHuy,
                "@NgayKe", _NgayKe,
                "@NgayThucHien", _NgayThucHien,
                "@TrangThai", _TrangThai
            };
            bool k = DB_SQL.EXECUTE_PROCE("DichVu_LanKham_Update", arrvalue);

            return(k);
        }
Beispiel #12
0
        public bool Update()
        {
            object[] arrvalue = new object[18] {
                "@BacSiID", _BacSiID,
                "@HoTen", _HoTen,
                "@NgaySinh", _NgaySinh,
                "@GioiTinh", _GioiTinh,
                "@DienThoai", _DienThoai,
                "@DiaChi", _DiaChi,

                "@QuyenHan", _QuyenHan,
                "@TrangThai", _TrangThai,
                "@GhiChu", _GhiChu
            };
            bool k = DB_SQL.EXECUTE_PROCE("BacSi_Update2", arrvalue);

            return(k);
        }