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. General Programming
  3. Visual Basic
  4. To Bind Or Not to Bind

To Bind Or Not to Bind

Scheduled Pinned Locked Moved Visual Basic
databasewpfwinformswcfsysadmin
6 Posts 2 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.
  • E Offline
    E Offline
    eatwork
    wrote on last edited by
    #1

    Hi, I have a question regarding binding and am looking for the pros and cons of each. The question is whether to bind a windows forms system to a database on the server or to have it store the data locally on each of the clients computers and update/insert/delete/ and refresh only when the user has made a change or switched tab pages etc. My current database is not connected to the database and retrieves and stores the data in one dataset and that dataset gets updated as needed. Not sure if it is more efficient to connect directly to the database or if it is better coding standards etc to be linked to the database. Thank you

    eatwork

    C 1 Reply Last reply
    0
    • E eatwork

      Hi, I have a question regarding binding and am looking for the pros and cons of each. The question is whether to bind a windows forms system to a database on the server or to have it store the data locally on each of the clients computers and update/insert/delete/ and refresh only when the user has made a change or switched tab pages etc. My current database is not connected to the database and retrieves and stores the data in one dataset and that dataset gets updated as needed. Not sure if it is more efficient to connect directly to the database or if it is better coding standards etc to be linked to the database. Thank you

      eatwork

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      I would imagine the best solution would probably be just to use the database, that is what they are for.

      Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog

      E 1 Reply Last reply
      0
      • C Christian Graus

        I would imagine the best solution would probably be just to use the database, that is what they are for.

        Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog

        E Offline
        E Offline
        eatwork
        wrote on last edited by
        #3

        hello christian, thank you for your reply. Point well taken, but does it require more maintenance in the future is it faster, etc? thank you

        eatwork

        C 1 Reply Last reply
        0
        • E eatwork

          hello christian, thank you for your reply. Point well taken, but does it require more maintenance in the future is it faster, etc? thank you

          eatwork

          C Offline
          C Offline
          Christian Graus
          wrote on last edited by
          #4

          In fact, it's faster and easier to maintain.

          Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog

          E 1 Reply Last reply
          0
          • C Christian Graus

            In fact, it's faster and easier to maintain.

            Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog

            E Offline
            E Offline
            eatwork
            wrote on last edited by
            #5

            Thanks, are there any other pros / cons that you can think of for binding a database? And do you know of any examples/solutions out there that I could look at? My project has 120 tables and the system requires a user login, the user to select their database connection location on the server and I am not sure I want to continue the project in the unbound format. Thanks

            eatwork

            C 1 Reply Last reply
            0
            • E eatwork

              Thanks, are there any other pros / cons that you can think of for binding a database? And do you know of any examples/solutions out there that I could look at? My project has 120 tables and the system requires a user login, the user to select their database connection location on the server and I am not sure I want to continue the project in the unbound format. Thanks

              eatwork

              C Offline
              C Offline
              Christian Graus
              wrote on last edited by
              #6

              To be honest, I'd assume being bound to the database would be the default, and most examples on the web would assume this approach

              Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog

              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