Beispiel #1
0
 /// <summary>
 /// 分页查询营销系统数据入库单据主表
 /// </summary>
 /// <param name="pageIndex"></param>
 /// <param name="pageSize"></param>
 /// <returns></returns>
 public DataTable GetInBillMaster(int pageIndex, int pageSize)
 {
     using (PersistentManager pm = new PersistentManager())
     {
         using (PersistentManager dbpm = new PersistentManager("YXConnection"))
         {
             DownInBillDao masterdao = new DownInBillDao();
             masterdao.SetPersistentManager(pm);
             DownInBillDao dao = new DownInBillDao();
             dao.SetPersistentManager(dbpm);
             DataTable billnodt   = masterdao.GetBillNo();
             string    billnolist = UtinString.StringMake(billnodt, "BILLNO");
             billnolist = UtinString.StringMake(billnolist);
             return(dao.GetInBillMasterByBillNo(billnolist));
         }
     }
 }