Results 1 to 3 of 3

Thread: Database Connection

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Oct 2001
    Location
    Earth
    Posts
    762

    Cool Database Connection

    Hi!!!
    I have 2 sites
    i put my database on one site www.onesite.com
    while the asp pages are on second site www.2nd site.com
    now i want to connect asp pages to database from one site to 2nd site.

    can any one how can i do it..???

  2. #2
    Hyperactive Member buddu's Avatar
    Join Date
    Jul 2001
    Location
    India
    Posts
    446
    Hi shahid!
    'I have provided the connection string for MS-SQL server.
    Code:
    Provider="SQLOLEDB;Network Library=DBMSSOCN;Data Source=11.111.111.1,1433;Initial Catalog=myDbname;User Id=sa;Password=xxx;"
    PS:
    IP address of the DB server: 11.111.111.1
    TCP port to connect=1433
    DBMSSOCN - instructs the system to use TCP/IP connection
    Hope this helps you!
    Last edited by buddu; Jun 20th, 2002 at 05:17 AM.
    prasad

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Oct 2001
    Location
    Earth
    Posts
    762

    Cool

    i think this code working with SQL SERVER.
    but i use MS Access file..

    i hope u pass ur comments for it

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