public DataTable GetBillInTask(string filter) { using (PersistentManager pm = new PersistentManager()) { BillDao dao = new BillDao(); return(dao.GetBillInTask(filter)); } }