// list all rows from table public DataSet List() { PurchaseData dao = new PurchaseData(ConnStr); return(dao.List()); }