//Function Used for Retrive set of Record set in ArrayList public ArrayList GetArrayList(string tblname, string fieldname, string criteria, String dbname) { DalFunction dalfunctions = new DalFunction(); try { TableName = tblname; ListFields = fieldname; Criteria = criteria; return(dalfunctions.GetArrayList(this)); } catch (Exception ex) { throw; } }
public DataTable GetDataTable(string tblname, string fieldname, string criteria, string sort, String dbname) { DalFunction dalfunctions = new DalFunction(); try { TableName = tblname; ListFields = fieldname; Criteria = criteria; SortFields = sort; return(dalfunctions.GetDataTable(this)); } catch (Exception e) { throw; } }