Partilhar via


DumpDataTable Method

Dumps a DataTable object to the output stream as HTML with no indentation.

Namespace:  Microsoft.CommerceServer.Runtime.Diagnostics
Assembly:  Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)

Syntax

'Declaration
Public Shared Sub DumpDataTable ( _
    dt As DataTable, _
    output As HtmlTextWriter _
)
'Usage
Dim dt As DataTable
Dim output As HtmlTextWriter

DumpUtils.DumpDataTable(dt, output)
public static void DumpDataTable(
    DataTable dt,
    HtmlTextWriter output
)
public:
static void DumpDataTable(
    DataTable^ dt, 
    HtmlTextWriter^ output
)
public static function DumpDataTable(
    dt : DataTable, 
    output : HtmlTextWriter
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

The output is nullNothingnullptra null reference (Nothing in Visual Basic).

Remarks

Use this method to dump a DataTable object to the output stream as HTML with no indentation.

Permissions

See Also

Reference

DumpUtils Class

DumpUtils Members

Microsoft.CommerceServer.Runtime.Diagnostics Namespace