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. How to access Other sql database form web forms

How to access Other sql database form web forms

Scheduled Pinned Locked Moved Web Development
databasequestioncsharpasp-netsql-server
7 Posts 3 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.
  • I Offline
    I Offline
    IanJan
    wrote on last edited by
    #1

    Hi every-one, Short: My name is Ian, I am actually learning web programming, please if any one can answer me on my burning question - thank you. 1: Is it possible to access another sql server from a website 2: I want to create login and access ie. read and write client specific data to and from the client db. 3: What controls or how do I manipulate .net controls to allow me access on these db's If any one can assist me please and Thank you Ian

    WOW

    J F 2 Replies Last reply
    0
    • I IanJan

      Hi every-one, Short: My name is Ian, I am actually learning web programming, please if any one can answer me on my burning question - thank you. 1: Is it possible to access another sql server from a website 2: I want to create login and access ie. read and write client specific data to and from the client db. 3: What controls or how do I manipulate .net controls to allow me access on these db's If any one can assist me please and Thank you Ian

      WOW

      J Offline
      J Offline
      Jaffer Mumtaz
      wrote on last edited by
      #2

      Hi, I am not sure what you meant by another sql server. Yes you can connect to multiple sql server through your website. Its up to you how you manage your connections. You could use GridView, DataList etch controls to access your Db but not sure what exactly you are trying to achieve.

      I 1 Reply Last reply
      0
      • I IanJan

        Hi every-one, Short: My name is Ian, I am actually learning web programming, please if any one can answer me on my burning question - thank you. 1: Is it possible to access another sql server from a website 2: I want to create login and access ie. read and write client specific data to and from the client db. 3: What controls or how do I manipulate .net controls to allow me access on these db's If any one can assist me please and Thank you Ian

        WOW

        F Offline
        F Offline
        Frank Kerrigan
        wrote on last edited by
        #3

        Buy a book mate, The MS Press books "xxxxx Step By Step" will get you started. Read articles on SQL Injection attacks as well.

        DEVELOPER DAY SCOTLAND 2009 Watch this space http://www.developerdayscotland.com/[^]

        I 1 Reply Last reply
        0
        • J Jaffer Mumtaz

          Hi, I am not sure what you meant by another sql server. Yes you can connect to multiple sql server through your website. Its up to you how you manage your connections. You could use GridView, DataList etch controls to access your Db but not sure what exactly you are trying to achieve.

          I Offline
          I Offline
          IanJan
          wrote on last edited by
          #4

          Hi Jaffer, Well sorry for the incomplete description. Ok, I have a client(say Pups) who needs his clients to access their information over the web. This entails that when that client logs in over the web, I must read their login information which is stored in Pups SQL Db on Pups server. Also for new clients of Pups who need to register over the web, to be able to trade with Pups, I need to Update his sql Db. I am still new to ASP.net and web development and are not familiar with all the controls. I have however tried to adjust or change asp.net configuration and Provider but with no success. Please if you can help me and put me into the right direction. If the information is still not enough I will elaborate more should you have more questions. Thank you very much

          WOW

          J 1 Reply Last reply
          0
          • I IanJan

            Hi Jaffer, Well sorry for the incomplete description. Ok, I have a client(say Pups) who needs his clients to access their information over the web. This entails that when that client logs in over the web, I must read their login information which is stored in Pups SQL Db on Pups server. Also for new clients of Pups who need to register over the web, to be able to trade with Pups, I need to Update his sql Db. I am still new to ASP.net and web development and are not familiar with all the controls. I have however tried to adjust or change asp.net configuration and Provider but with no success. Please if you can help me and put me into the right direction. If the information is still not enough I will elaborate more should you have more questions. Thank you very much

            WOW

            J Offline
            J Offline
            Jaffer Mumtaz
            wrote on last edited by
            #5

            Hi, Are you using 2 sql servers? Because from the description i am still unable to completely understand your problem. What i understand from your description is you might be having 2 sql servers one called pups. Okay when pups clients access pups application over web you might say you establish connection to the server using connection string 1 hitting pups database server. And when you need to connect to another database server you should use connection string 2. This logic should be embedded in your program to determine which database it should access at any particular moment. I am assuming you know about connection string and know how to connect to a sql server in asp.net

            I 1 Reply Last reply
            0
            • J Jaffer Mumtaz

              Hi, Are you using 2 sql servers? Because from the description i am still unable to completely understand your problem. What i understand from your description is you might be having 2 sql servers one called pups. Okay when pups clients access pups application over web you might say you establish connection to the server using connection string 1 hitting pups database server. And when you need to connect to another database server you should use connection string 2. This logic should be embedded in your program to determine which database it should access at any particular moment. I am assuming you know about connection string and know how to connect to a sql server in asp.net

              I Offline
              I Offline
              IanJan
              wrote on last edited by
              #6

              Well thank you very much Jaffer, I did find information assisting me in this regard. Ianjan

              WOW

              1 Reply Last reply
              0
              • F Frank Kerrigan

                Buy a book mate, The MS Press books "xxxxx Step By Step" will get you started. Read articles on SQL Injection attacks as well.

                DEVELOPER DAY SCOTLAND 2009 Watch this space http://www.developerdayscotland.com/[^]

                I Offline
                I Offline
                IanJan
                wrote on last edited by
                #7

                Hi Frank, Will definitely get a good book thank you very much Ianjan

                WOW

                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