Table of Contents

Method Contents

Namespace
YndigoBlue.Velocity.Utils
Assembly
YndigoBlue.Velocity.dll

Contents(DataTable)

Generates a formatted string representation of the DataTable's contents.

public static string Contents(this DataTable data)

Parameters

data DataTable

The DataTable to format.

Returns

string

A string with column-aligned table data suitable for console or log output.

Remarks

This method creates a human-readable table format with column headers and data rows, automatically calculating column widths based on content.