public int ooUpdateChiTietCC(int MaPhieu, int _Ngay, bool _NgayCong, int _GioTangCa, int _Giotre) { return(con.ooUpdate("QL_ChiTietChamCong", "where MaPhieu='" + MaPhieu + "' and Ngay=" + _Ngay, "NgayCong", _NgayCong, "SoGioTangCa", _GioTangCa, "SoGioTre", _Giotre)); }
public int ooUpdatePB(string MaPB, string TenPB) { return(con.ooUpdate("QL_PhongBan", "where MaPhongBan='" + MaPB + "'", "TenPhongBan", TenPB)); }
public int UpdateTL(string tendn, string mk) { return(con.ooUpdate("QL_NguoiDung", "where TenDangNhap='" + tendn + "'", "MatKhau", mk)); }