Normally we link a user control (such as a datagridview) to an existing database with a binding source. This is done before the program is run.
I would like to link a user control to a database that is specified by the user during the program runtime. The user will input the path and name of the database through an 'Open File' dialog. The user controls should then be linked to this database and show the data inside.
Can anyone suggest how to do this?
I suppose the real question is whether it is possible to bind a user control (such as a datagridview) to a user specified database during the program runtime?