NetCharts Server .NET Toolkit

DataConversion.convertNCXMLToDataTable Method (String, Boolean)

Converts NCXML formatted XML to a DataTable using NetChartsServerData as the table name.

public static DataTable convertNCXMLToDataTable(
   string ncxml,
   bool firstRowIsColumnNames
);

Parameters

ncxml
The NCXML formatted XML to convert to a DataTable.
firstRowIsColumnNames
Whether the first row of data contains values to use as the column names of the DataTable.

Return Value

A DataTable named NetChartsServerData populated from the NCXML formatted XML.

Exceptions

Exception TypeCondition
NSToolKitExceptionThrown when the XML is invalid.

See Also

DataConversion Class | NetChartsServer Namespace | DataConversion.convertNCXMLToDataTable Overload List