Beispiel #1
0
 public void xoadulieu(EC_tblKhachHang et)
 {
     this.sql.xoadulieu(et);
 }
Beispiel #2
0
 public void suadulieu(EC_tblKhachHang et)
 {
     this.sql.suadulieu(et);
 }
Beispiel #3
0
 public void themdulieu(EC_tblKhachHang et)
 {
     this.sql.themdulieu(et);
 }
Beispiel #4
0
 public void xoadulieu(EC_tblKhachHang et)
 {
     this.cn.thucthicaulenh("DELETE FROM DMKhachHang Where makh=N'" + et.Makh + "'  ");
 }
Beispiel #5
0
 public void suadulieu(EC_tblKhachHang et)
 {
     this.cn.thucthicaulenh("UPDATE DMKhachHang SET  tenkh =N'" + et.Tenkh + "', emailkh =N'" + et.Emailkh + "', sdtkh =N'" + et.Sdtkh + "', diachikh =N'" + et.Diachikh + "'  Where makh=N'" + et.Makh + "'  ");
 }
Beispiel #6
0
 public void themdulieu(EC_tblKhachHang et)
 {
     this.cn.thucthicaulenh("INSERT INTO DMKhachHang (makh, tenkh, sdtkh, emailkh, diachikh) VALUES  (N'" + et.Makh + "',N'" + et.Tenkh + "',N'" + et.Sdtkh + "',N'" + et.Emailkh + "',N'" + et.Diachikh + "')");
 }