DataMgr 2.0 Documentation: Getting Started

Getting Started

To use DataMgr, follow these steps:

  1. Download DataMgr
  2. Place it where you want to store it (code example assumes root of site or CustomTags directory).
  3. Initialize DataMgr
Application.DataMgr = CreateObject("component","DataMgr").init("mydsn","MSSQL")

Note that "mydsn" in this example is the datasource. That could also be a variable that holds the value of your datasource. "MSSQL" in this example indicates the type of database - in this case MS SQL Server. You can put the value of the database you are using.

Possible values for database argument: