예제 #1
0
 public DataTable BenhNhanSelectByID(string id)
 {
     var bnDAL = new BenhNhanDAL();
     var dt = new DataTable();
     dt = bnDAL.BenhNhanSelectByID(id);
     return dt;
 }
예제 #2
0
 public DataTable BenhNhanSearch1(BenhNhanEntity bn)
 {
     var bnDAL = new BenhNhanDAL();
     var dt = new DataTable();
     dt = bnDAL.BenhNhanSearch1(bn);
     return dt;
 }
예제 #3
0
 public DataTable BenhNhanSelectByFlag()
 {
     var bnDAL = new BenhNhanDAL();
     var dt = new DataTable();
     dt = bnDAL.BenhNhanSelectByFlag();
     return dt;
 }
예제 #4
0
 public static DataSet GetBenhNhanList(string _strConnection)
 {
     var ds = new DataSet();
        var helper = new BenhNhanDAL();
        ds = helper.fnGetBenhNhanList(_strConnection);
        return ds;
 }
예제 #5
0
 public bool BenhNhanUpDate(BenhNhanEntity bn)
 {
     var bnDAL = new BenhNhanDAL();
     var i = bnDAL.BenhNhanUpDate(bn);
     if (i == 1)
         return true;
     else
         return false;
 }