NetCharts Server .NET Toolkit

DataConversion.convertNCXMLToDataTable Method (String, Boolean, String)

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

Parameters

ncxml
The NCXML formatted XML to convert to NCXML.
firstRowIsColumnNames
Whether the first row of data contains values to use as the column names of the DataTable.
tableName
The name of the DataTable. If tableName is "" the the name used will be NetChartsServerData.

Return Value

A DataTable populated from the NCXML formatted XML.

Exceptions

Exception Type Condition
NSToolKitException Thrown when the XML is invalid.

See Also

DataConversion Class | NetChartsServer Namespace | DataConversion.convertNCXMLToDataTable Overload List