Best way to set strongly typed dataset connection string at runtime?

Posted by wethercotes on Stack Overflow See other posts from Stack Overflow or by wethercotes
Published on 2009-03-29T22:14:22Z Indexed on 2010/03/28 12:43 UTC
Read the original article Hit count: 372

Filed under:
|
|

My Windows Forms application uses a strongly typed dataset created using the designer in Visual Studio. At runtime I would like to be able to select either the live or test database.

What is the best way to programmatically set the connection string for the dataset at runtime?

© Stack Overflow or respective owner

Related posts about c#

Related posts about visual-studio