示例#1
0
        public static DataTable Select(string tableName)
        {
            DataTable table = SqlHelper.ExecuteDataset(Config.ConnectionString, CommandType.Text, UData.ToSelectAll(tableName)).Tables[0];

            table.TableName = tableName;

            return(table);
        }