Results 1 to 2 of 2

Thread: Simple Question...

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Dec 2006
    Location
    Between Try & Catch
    Posts
    249

    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

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    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
  •  



Click Here to Expand Forum to Full Width