NetCharts Server .NET Toolkit

DataConversion.convertDataTableToNCXML Method 

Converts a DataTable to NCXML formatted XML.

public static string convertDataTableToNCXML(
   DataTable dt,
   bool includeColumnNames
);

Parameters

dt
The DataTable to convert to NCXML formatted XML.
includeColumnNames
Whether or not to include the DataTable column names as the first row of the NCXML formatted XML.

Return Value

NCXML formatted XML populated from the DataTable.

Exceptions

Exception TypeCondition
NSToolKitExceptionThrown when the DataTable is
null
or
Nothing
.

See Also

DataConversion Class | NetChartsServer Namespace