
This step-by-step procedure demonstrates how to package common Active Server Pages (ASP) scripts for easy re-use in Visual Basic Component Object Model (COM) components. The value of this example is to take scripts that are used extensively and put them into a dynamic link library (DLL) for easy re-use. You can reduce the amount of code that is needed in the Web page to generate an HTML table from a database from 10 or 20 lines to three lines. The example script in this article is the creation of an HTML table that is generated from a database query. This article uses the Northwind database that is included with Microsoft SQL Server for the ..
|