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. C#
  4. Sharing C# Program While Preserving Data Adapters

Sharing C# Program While Preserving Data Adapters

Scheduled Pinned Locked Moved C#
csharpdatabasesysadminquestion
2 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.
  • T Offline
    T Offline
    thepolishguy
    wrote on last edited by
    #1

    I'm running into a program successfully sharing a C# program with a fellow developer. We're each working on separate aspects of an application on our local drives, but sharing updates via a network. When we upload the C# application from the network, the DataAdapters for our projects need to be reconnected through the 'Configure Data Adapter' despite the fact that we hold the database for the project in the same location on our local drives. Is there a way to avoid that?

    T 1 Reply Last reply
    0
    • T thepolishguy

      I'm running into a program successfully sharing a C# program with a fellow developer. We're each working on separate aspects of an application on our local drives, but sharing updates via a network. When we upload the C# application from the network, the DataAdapters for our projects need to be reconnected through the 'Configure Data Adapter' despite the fact that we hold the database for the project in the same location on our local drives. Is there a way to avoid that?

      T Offline
      T Offline
      Tom Larsen
      wrote on last edited by
      #2

      You should consider making the "location of the database" a config file setting. You can have a layered approach to config files such that there is a generic application config file and your user settings config file.

      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