NetCharts® Server: ASP Toolkit getTable Example
This example shows how to utilize the NetCharts Server ASP Toolkit to add an HTML table generated by NetCharts Server to an ASP page. The example uses the NetChartsServer.NSToolkit class to add an HTML table produced by NetCharts Server onto ASP page. See the Source Code.
Note: This is a static image - no interactivity.

Source Code
<html>
<head>
<title>NetCharts Server ASP Toolkit Example - getTable</title>
</head>
<body>
<p>Create instances of the <i>NetChartsServer.NSToolKit</i> and <i>NetChartsServer.Hashtable</i> classes.</p>
<%
Dim toolKit, variables
Set toolKit = Server.CreateObject("NetChartsServer.NSToolKit")
Set variables = Server.CreateObject("NetChartsServer.Hashtable")
toolKit.setProject "Examples/Tables"
toolKit.setServerInfo "localhost", 8001
variables.putValue "tableResolveStyles", "true"
%><p>You can place any HTML you would like here. This includes table, text, images, etc.
Then when you want to add the table to the page, like below this text,
just use the following code: <i>toolKit.getTable("TABLE TEMPLATE")</i>
to add the chart to the page.</p>
<%=toolKit.getTable("IndexedTable.tbl", variables)%><%
Set variables = Nothing
Set toolKit = Nothing
%>
</body>
</html>
![]()



