Visual Mining contact us | site map | search

Products Solutions Resource Library Services Customers Partners Developers Company
Developers

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.
NetCharts Server ASP Example of getTable

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>


© 2008 Visual Mining, Inc. All rights reserved.
1-800-308-0731 | info@visualmining.com | privacy statement | legal
15825 Shady Grove Rd., Suite 20, Rockville, MD 20850 USA

Quote: American Superconductor