Dec 22, 2011
I am kind of an old 'newbee' at this, so bear with me for a moment. I am developing a windows forms application in Visual Studio 2010 Professional that connects to a remote database (MS sqlServer 2008 R2).To speed up development, I configured a DataSource and used the data objects associated with it. In VB6,
View 9 Replies
the data source could be assigned to the data objects during runtime using a variety of different runtime database connections, ODBC, ADO, ...
I have been unable to find a similar method with the VS2010 Visual Basic DataSource and underlying TableAdapter, BindingSource, BindingNavigator, down to the individual ComboBox and assorted other bound controls. It's convenient to have the integration, but I've got different users with different permissions, The long and short is that I'd like to be able to assign the data source during runtime operation, at least to the connection string level.