Results 1 to 3 of 3

Thread: Help

  1. #1
    bombay Guest

    Default Help

    can u tell me 4 objects inherently with asp and how many methods can be used to connect to a database....<BR><BR>is there a site which has all these questions....faq&#039s kind of thing

  2. #2
    Join Date
    Dec 1969

    Default RE: Help

    Check out the following for help with databases:<BR><BR><BR>

  3. #3
    Chennai Guest

    Default RE: Help

    If you want to connect to a database, there are several ways you can do it using ASP. I suggest using a DSN on your server, although you can use a connection string if you like. Let&#039s assume you have a System DSN on your server named "MyDatabase", which points to an Access database. Here is what you could write in your ASP page to connect to the database: <BR><BR><BR>&#060;%<BR><BR>&#039Create a connection to the database<BR>Dim Conn<BR>Set Conn = Server.CreateObject("ADODB.Connection")<BR>&#039Op en the connection<BR>Conn.Open "MyDatabase"<BR>%&#062; <BR>That&#039s all there is to connecting to a database. You can now query the database, update records, delete records, etc. <BR><BR>Happy Programming! <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