Beispiel #1
0
        public Boolean UpdateTS(string MaPB, string MaNV, string HoTen, long TroCap, DateTime NgayVe, DateTime NgayTroLai)
        {
            DataProviderThaiSan dp = new DataProviderThaiSan();
            ThaiSan             bh = new ThaiSan(MaPB, MaNV, HoTen, TroCap, NgayVe, NgayTroLai);

            return(dp.SuaTS(bh));
        }
Beispiel #2
0
        public Boolean DeleteTS(string MaNV)
        {
            DataProviderThaiSan dp = new DataProviderThaiSan();

            return(dp.XoaTS(MaNV));
        }
Beispiel #3
0
        public DataTable LoadTS()
        {
            DataProviderThaiSan dp = new DataProviderThaiSan();

            return(dp.ThaiSanLoad(new ThaiSan()));
        }