private DataTable Clone(DataTable table, Func<TableCell, string> getCellValue = null)
        {
            if (table == null)
                return null;

            return new DataTable(table.Rows.Select(r => Clone(r, getCellValue)).ToArray());
        }
Example #2
0
 private void FormatDataTable(DataTable dataTable, StringBuilder result)
 {
     FormatHasRows(dataTable, result, STEPARG_INDENT);
 }