paulolg
Posts: 7
|
Posted: 02/03/2009, 10:49 AM |
|
Hi,
i want to make a connection to a DB Oracle with ASP, i did the conecction with php like this:
$varConn = new clsDBConnection
But i don't know how to make the same in ASP
Can anyone help me.....
Thanks!!!
|
|
|
jjrjr1
Posts: 942
|
Posted: 02/04/2009, 6:24 AM |
|
Hi
I do not code in ASP but I would guess ASP has similar constructs as PHP code.
Take a look in the main page file where an oracle + ASP connection has been made with the builder. Search for where a DB class is created and you will see how it is done in that language with Oracle.
That might help.
Have fun.
_________________
John Real - More CodeCharge Studio Support at - http://CCSElite.com |
|
|
jjrjr1
Posts: 942
|
Posted: 02/04/2009, 6:32 AM |
|
Hi
I just quickly built an ASP project and it looks like this in the ASP code used to create a DB connection.
Set DBMyConnection = New clsDBConnection1
Where Connection1 would be the actual name of your projects DB connection.
Let me know if that works
Have fun
_________________
John Real - More CodeCharge Studio Support at - http://CCSElite.com |
|
|
paulolg
Posts: 7
|
Posted: 02/04/2009, 7:15 AM |
|
It works fine!!!
thanks!!!
|
|
|
jjrjr1
Posts: 942
|
Posted: 02/04/2009, 10:48 AM |
|
Glad That Helped..
Have fun
_________________
John Real - More CodeCharge Studio Support at - http://CCSElite.com |
|
|