コード例 #1
0
 public DataTable laydsbh(BHYTdto p)
 {
     int thamso = 1;
     string[] name = new string[thamso];
     object[] values = new object[thamso];
     name[0] = "@mabn";
     values[0] = p.Mabn;
     return ketnoi.laydulieu("LayBHtheomaBN", name, values, thamso);
 }
コード例 #2
0
 public DataTable themBHYT(BHYTdto p)
 {
     int thamso = 5;
     string[] name = new string[thamso];
     object[] values = new object[thamso];
     name[0] = "@sothe";
     name[1] = "@ngaybd";
     name[2] = "@ngaykt";
     name[3] = "@phantram";
     name[4] = "@mabn";
     values[0] = p.Sothebh;
     values[1] = p.Ngaybd;
     values[2] = p.Ngaykt;
     values[3] = p.Phantram;
     values[4] = p.Mabn;
     return ketnoi.laydulieu("insert_bhyt", name, values, thamso);
 }
コード例 #3
0
 public int suaBHYT(BHYTdto p)
 {
     int thamso = 5;
     string[] name = new string[thamso];
     object[] values = new object[thamso];
     name[0] = "@sothebhyt";
     name[1] = "@mabn";
     name[2] = "@ngaybd";
     name[3] = "@ngaykt";
     name[4] = "@phantram";
     values[0] = p.Sothebh;
     values[1] = p.Mabn;
     values[2] = p.Ngaybd;
     values[3] = p.Ngaykt;
     values[4] = p.Phantram;
     return ketnoi.update("suaBHYT", name, values, thamso);
 }
コード例 #4
0
 public DataTable thembhyt(BHYTdto p)
 {
     return bhyt.themBHYT(p);
 }
コード例 #5
0
 public int suabhyt(BHYTdto p)
 {
     return bhyt.suaBHYT(p);
 }
コード例 #6
0
 public DataTable laydsbh(BHYTdto p)
 {
     return bhyt.laydsbh(p);
 }