Tech Off Thread

2 posts

Forum Read Only

This forum has been made read only by the site admins. No new threads or comments can be added.

Data Source Wizard

Back to Forum: Tech Off
  • User profile image
    troposphere

        How can I use Data Bound controls in my .NET 2.0 project if I want to allow the user to choose his database file at runtime?

    It seems that all the Wizardry in VS 2005 forces me to choose my Access database file at design time and it can't change.  Is this true?

    Thanks very much,
    Rich

  • User profile image
    Tensor

    You need to abstract the database somehow. a simple way might be to use strongly-typed datasets, created from your access tables, then bind to them. At runtime, you will need to populate the datasets from whichever database the user is using, but that should not be hard.

    There are a lot more ways of doing it, but thats probably the quickest way of getting you up and running.

Conversation locked

This conversation has been locked by the site admins. No new comments can be made.