[dba-VB] Strongly Typed DataSet Connection String - changing on runtime

Salakhetdinov Shamil mcp2004 at mail.ru
Fri Feb 24 00:22:25 CST 2012


Hi All --

The subject seems to be an issue without effective solution (did I miss that solution?):

http://stackoverflow.com/questions/695491/best-way-to-set-strongly-typed-dataset-connection-string-at-runtime

http://rajmsdn.wordpress.com/2009/12/09/strongly-typed-dataset-connection-string/


I'd propose to use custom partial classes to "open access" to both the global (read-only by default) connection string property as well as to individual data tables  table adapters' _connection property, which is set as private by default. 

Than you.

-- Shamil 


More information about the dba-VB mailing list