Code sample

Results 1 to 3 of 3

Thread: Code sample

  1. #1
    Katrina Guest

    Default Code sample

    I need help with code on connecting to oracle from asp pages.<BR><BR>All the books I have been refering books but most all of them have examples of access databases.<BR><BR>I would really appreciate some help.<BR><BR>From Russia

  2. #2
    geeoff Guest

    Default RE: Code sample

    the idea is the same as Access, however this method requires that you have the correct DSN&#039s set up (through ODBC admin) on both the web server and your development box.<BR><BR>Set conn = Server.CreateObject("ADODB.Connection")<BR>conn.Op en(yourConnectionString)<BR>&#039at this point, you should have your connection to the Ora db<BR>conn.Execute(yourQuery)<BR>&#039if the connect was successful, this will send SQL to the db<BR><BR>HTH

  3. #3
    katrina Guest

    Default RE: Code sample

    Thanks for the reply.<BR><BR>What do you mean by Development box? Are you talking about the IDE--? I am using Visual InterDev 6.0. I will be using the code you have sent across. Zis there any other confgurations I need to do with Visual Interdev with regards to connecting to the database?<BR><BR>Thanks mucho

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts