|
-
Oct 2nd, 2008, 08:37 AM
#1
Thread Starter
Addicted Member
Simple Question...
I'm not exactly sure if this is in the right place, so mods please move if necessary.
I am trying to figure out something I think would be pretty easy. I have an asp page. At the top of the page, I am including a file like some_file.inc that holds the information I need to make a connection to the server object.
Down the page, I use Server.CreateObject to create an instance of a server object I need to use to access the database.
The function looks like this:
someserverobject.OpenConnection("place paramaters here")
The problem is that I cannot open the connection, because the parameters don't seem to be making it.
So my question is, how do I properly use the variables from the include file as parameters in the function I'm using?
If my post helped you, please rate it!
Languages: VB/ASP.NET 2005, C# 2008,VB6
Databases: Oracle (knowledge not currently in use), DB2
FROM Customers
WHERE We_Know_What_We_Want <> DB.Null
SELECT *
0 rows returned
-
Oct 6th, 2008, 10:18 AM
#2
Re: Simple Question...
If you debug or do a Response.Write, are you able to write the values out to the page?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|