public DataTable load_cttt(CTTOATHUOCdto p) { int thamso = 1; string[] name = new string[thamso]; object[] values = new object[thamso]; name[0] = "@madonthuoc"; values[0] = p.Madonthuoc; return kn.laydulieu("load_thuoc_cttt", name, values, thamso); }
public int xoacttt(CTTOATHUOCdto p) { int thamso = 2; string[] name = new string[thamso]; object[] values = new object[thamso]; name[0] = "@madonthuoc"; name[1] = "@mathuoc"; values[0] = p.Madonthuoc; values[1] = p.Mathuoc; return kn.update("xoacttt", name, values, thamso); }
public int themcttt(CTTOATHUOCdto p) { int thamso=5; string[] name=new string[thamso]; object[] values=new object[thamso]; name[0]="@mathuoc"; name[1]="@soluong"; name[2]="@macachdung"; name[3]="@madonthuoc"; name[4] = "@ghichu"; values[0]=p.Mathuoc; values[1]=p.Soluong; values[2]=p.Macachdung; values[3]=p.Madonthuoc; values[4] = p.Ghichu; return kn.update("themCTTT", name, values, thamso); }
public int xoa_cttt(CTTOATHUOCdto p) { return dt.xoacttt(p); }
public int themcttt(CTTOATHUOCdto p) { return dt.themcttt(p); }
public DataTable load_cttt(CTTOATHUOCdto p) { return dt.load_cttt(p); }
public DataTable demcttt(CTTOATHUOCdto p) { return dt.demcttt(p); }