コード例 #1
0
 public void delSuDung(EC_SuDungDichVu EC_SuDung)
 {
     connect.ThucHienLenh(@"delete from tblSuDungDV where MaHD = '" + EC_SuDung.MaHD + "' and MaDV = '" + EC_SuDung.MaDV + "' and ThoiGian = '" + EC_SuDung.ThoiGian + "'");
 }
コード例 #2
0
 public void addSuDung(EC_SuDungDichVu EC_SuDung)
 {
     connect.ThucHienLenh(@"insert into tblSuDungDV(MaHD,MaDV,ThoiGian,Gia) values('" + EC_SuDung.MaHD + "','" + EC_SuDung.MaDV + "','" + EC_SuDung.ThoiGian + "', '" + EC_SuDung.Gia + "')");
 }