two db's on one ASP page

Results 1 to 2 of 2

Thread: two db's on one ASP page

  1. #1
    EBo Guest

    Default two db's on one ASP page

    Hi there,<BR><BR>Is it possible, and if it is, how is it possible, to have two b connections on one ASP page? <BR>I&#039ve got a page with a poll and a submission part, The poll works allright, only i cannot connect my submission field to a database, or should i use something different (like ASPMail or ASPForm) to get userdata submitted into a db?<BR><BR>Thank,<BR><BR>EBo (who is in deparate need for help, since i have my deadline end of this week )<BR><BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: two db's on one ASP page

    You can open two connections to two separate databases by using <BR><BR>Dim conn<BR>Set conn = Server.CreateObject("ADODB.Connection")<BR>conn.Op en "DSN=database;uid=userid;pwd=password"<BR><BR> for the necessary databases, but the easiest way would be to create a new table within the database you&#039re already using and just INSERT the data collected from the user into that table.<BR><BR>Hope this helps.<BR>

Posting Permissions

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