public DataTable load_xn_ctxn(PHIEUXETNGHIEMdto p)
 {
     int thamso = 2;
     string[] name = new string[thamso];
     object[] value = new object[thamso];
     name[0] = "@mabn";
     name[1] = "@ngayxn";
     value[0] = p.Mabn;
     value[1] = p.Ngayxn;
     return kn.laydulieu("load_xn_ctxn", name, value, thamso);
 }
 public int insert_phieuxn(PHIEUXETNGHIEMdto p)
 {
     int thamso = 5;
     string[] name = new string[thamso];
     object[] value = new object[thamso];
     name[0] = "@maphieuxn";
     name[1] = "@yeucauxn";
     name[2] = "@ngayxn";
     name[3] = "@mabn";
     name[4] = "@manv";
     value[0] = p.Maphieuxn;
     value[1] = p.Yeucauxn;
     value[2] = p.Ngayxn;
     value[3] = p.Mabn;
     value[4] = p.Manv;
     return kn.update("insert_phieuxn", name, value, thamso);
 }
 public DataTable load_xn_ctxn(PHIEUXETNGHIEMdto p)
 {
     return pxn.load_xn_ctxn(p);
 }
 public int insert_phieuxn(PHIEUXETNGHIEMdto p)
 {
     return pxn.insert_phieuxn(p);
 }