示例#1
0
 // xóa
 public void Delete(EC_DSHD et)
 {
     sql.Delete(et);
 }
示例#2
0
 // sửa
 public void Update(EC_DSHD et)
 {
     cn.ExecuteSql(@"UPDATE DSHD SET MaKH = N'" + et.MaKH + "', MaMH = N'" + et.MaMH + "' , SoLuongMua = N'" + et.SoLuongMua + "', MaNV = N'" + et.MaNV + "' WHERE MaHD = N'" + et.MaHD + "' ");
 }
示例#3
0
 // sửa
 public void Update(EC_DSHD et)
 {
     sql.Update(et);
 }
示例#4
0
 public void Delete(EC_DSHD et)
 {
     cn.ExecuteSql(@"DELETE FROM DSHD WHERE MaHD = N'" + et.MaHD + "'");
 }