 | NiceFormatter.TablizeAdoTable Method |
Namespace: Orthogonal.Common.BasicAssembly: Orthogonal.Common.Basic (in Orthogonal.Common.Basic.dll) Version: 2025-03-15 14:42 GMT+11
Syntaxpublic static IEnumerable<string> TablizeAdoTable(
DataTable table,
int? maxColLen = null,
int? maxRows = null
)
Parameters
- table DataTable
- The DataTable to format and display.
- maxColLen Nullable<Int32> (Optional)
- Optional maximum length of text in each mock column.
- maxRows Nullable<Int32> (Optional)
- Optional maximum number of mock rows to process.
Return Value
IEnumerable<String>An enumerable set of text lines that display as a mock table using box ASCII characters.
Control characters in the displayed values are replaced with a small box U+25AB.
See Also