DumpDataSet Method
Dumps the tables in the DataSet 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 DumpDataSet ( _
ds As DataSet, _
output As HtmlTextWriter, _
name As String _
)
'Usage
Dim ds As DataSet
Dim output As HtmlTextWriter
Dim name As String
DumpUtils.DumpDataSet(ds, output, name)
public static void DumpDataSet(
DataSet ds,
HtmlTextWriter output,
string name
)
public:
static void DumpDataSet(
DataSet^ ds,
HtmlTextWriter^ output,
String^ name
)
public static function DumpDataSet(
ds : DataSet,
output : HtmlTextWriter,
name : String
)
Parameters
- ds
Type: System.Data..::.DataSet
The DataSet object.
- output
Type: System.Web.UI..::.HtmlTextWriter
The HtmlTextWriter output stream.
- name
Type: System..::.String
Name of the object for display.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | The output or name is nullNothingnullptra null reference (Nothing in Visual Basic). |
Remarks
Use this method to dump the tables in the DataSet 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.