|
|
|
|
|
| | |
|
Active Server Pages what is asp programming how to sample asp example code scripts software asp forum mail sessions applications global.asa CJWSoft ASPProtect ASPBanner ASPClassifieds
(Advanced)
(Components)
(Database)
(General)
(Vbscript)

|
|
Subject: |
Re: How to reuse a database connection in asp |
From: |
sudharsan |
Date: |
9/16/1999 5:24:42 PM |
IP: |
164.164.73.250 |
hai prasanth,
By the time this reaches u i hope u would have found a way to reuse a conn.
Anyway try this, it works
You can put command types, cursor types, lock types and the connection parametres
in one include file. In that file itself u can specify the DSN, connection.
u can give like this
Set conn = Server.CreateObject("ADODB.Connection")
conn.Open "DSN=dsn;Uid=sd;pwd="
Just include the file whereever u want by giving
<!-- # include file = "filename.inc" -->
|
Previous Message
|
|
|
|
|
|
|
|
|
|
|
|