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
- dt
Type: System.Data..::.DataTable
The DataTable object.
- output
Type: System.Web.UI..::.HtmlTextWriter
The HtmlTextWriter output stream.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.