public int UpdateData(EntityKhachHang KH) { SqlParameter[] para = { new SqlParameter("id", KH.id), new SqlParameter("ten", KH.ten), new SqlParameter("sdt", KH.sdt), new SqlParameter("diachi", KH.diachi), new SqlParameter("email", KH.email) }; return(conn.ExcuteSQL("SuaKH", para)); }
public int UpdateData(EntityKhachHang KH) { return(da.UpdateData(KH)); }
public int InsertData(EntityKhachHang KH) { return(da.InsertData(KH)); }