Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. connect sql 2005 database that is another sysem using asp.net

connect sql 2005 database that is another sysem using asp.net

Scheduled Pinned Locked Moved ASP.NET
databasecsharpasp-netsql-serversysadmin
5 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    azad yadav
    wrote on last edited by
    #1

    Hi friend, I want to know how to connect sql server 2005 when i am working on another pc in (XP).

    S M M K 4 Replies Last reply
    0
    • A azad yadav

      Hi friend, I want to know how to connect sql server 2005 when i am working on another pc in (XP).

      S Offline
      S Offline
      specialdreamsin
      wrote on last edited by
      #2

      Hi To connect to remote system use this connection string "Data Source=IPAddressOfRemoteSystem,1440;Initial Catalog=YourDB;User ID=uid;Password=pwd; Ramesh Sambari

      Knowledge is like honey. Collect it, to make life sweet.

      1 Reply Last reply
      0
      • A azad yadav

        Hi friend, I want to know how to connect sql server 2005 when i am working on another pc in (XP).

        M Offline
        M Offline
        Manas Bhardwaj
        wrote on last edited by
        #3

        There is something called ConnectionString[^]

        Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.

        1 Reply Last reply
        0
        • A azad yadav

          Hi friend, I want to know how to connect sql server 2005 when i am working on another pc in (XP).

          M Offline
          M Offline
          Mathew P V
          wrote on last edited by
          #4

          for the database to connect you may have used windows or sql authentication if it is sql authentication connect with the help of the computername and password ie.administrator username and password in the connection string. i think that will do.

          1 Reply Last reply
          0
          • A azad yadav

            Hi friend, I want to know how to connect sql server 2005 when i am working on another pc in (XP).

            K Offline
            K Offline
            K0306
            wrote on last edited by
            #5

            you can write the connection string in web.config file and use these connection abject in any where in your project. like and use like this in your form string strSqlCon = ConfigurationSettings.AppSettings["ConnectionString"];

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups