G
Guest
I feel like I'm forgetting something. Assume Visual Studio 2005 (VB) and
assume you have created a data source and dataset by the usual means.
Assume multiple tables.
Now you have a designer.vb module associated with the dataset containing an
InitConnection sub for each table, as well as an ominous message at the top
of the file warning against manual change. (For simplicity's sake also
assume that you chose the option not to create an Application Setting
connection string.)
Given this, is there any one place in the dataset I could programmatically
set the connection string, or must I always do it for each individual table
adapter, whenever one is instantiated?
assume you have created a data source and dataset by the usual means.
Assume multiple tables.
Now you have a designer.vb module associated with the dataset containing an
InitConnection sub for each table, as well as an ominous message at the top
of the file warning against manual change. (For simplicity's sake also
assume that you chose the option not to create an Application Setting
connection string.)
Given this, is there any one place in the dataset I could programmatically
set the connection string, or must I always do it for each individual table
adapter, whenever one is instantiated?