Gene
Posts: 14
|
| Posted: 02/21/2005, 5:50 PM |
|
Hi.
I need to create a connection to a secondary database that I won't know the name of until the user logs in. Can someone please tell me how to do this in CCS? In this instance, we are using ASP, but would consider jsp , C#, VB.Net or PHP if these offer some advantage in accomplishing the task at hand.
The databases are running on MySQL.
Thanks much!
Gene
|
 |
 |
Tuong Do
|
| Posted: 02/27/2005, 7:41 PM |
|
What you need is the Connection String once you know the database name
IN ASP
Dim ObjCon, ConString
ConString = "Bla Bla" ' Depend on your database type
Set objCon = Server.CreateObject("ADODB.Connection")
ObjCon.ConnectionString = ConString
ObjCon.open
"Gene" <Gene@forum.codecharge> wrote in message
news:2421a8fe878388@news.codecharge.com...
> Hi.
>
> I need to create a connection to a secondary database that I won't know
> the
> name of until the user logs in. Can someone please tell me how to do this
> in
> CCS? In this instance, we are using ASP, but would consider jsp , C#,
> VB.Net
> or PHP if these offer some advantage in accomplishing the task at hand.
>
> The databases are running on MySQL.
>
> Thanks much!
>
> Gene
>
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>
|
|
|
 |
|