public DataModel()
 {
     tableName = "";
     tableNames = null;
     limit = "";
     sortUp = "";
     sortDown = "";
     hiddenColumnList = new List<string>();
     rawSqlString = "";
     stats = new StatsHelper.HelperStatistics();
 }
 public DataModel(string p_table, string p_limit, string p_showStats, string p_sortUp, string p_sortDown, string p_columns)
 {
     tableName = p_table;
     tableNames = getTableSelectList();
     limit = p_limit;
     sortUp = p_sortUp;
     sortDown = p_sortDown;
     hiddenColumnList = new List<string>(p_columns.Split(new char[] { ',' }, StringSplitOptions.RemoveEmptyEntries));
     rawSqlString = "";
     if (!String.IsNullOrEmpty(p_showStats))
     {
         stats = new StatsHelper.HelperStatistics();
     }
     else
     {
         stats = null;
     }
 }