title: Changing dataset connectionstring at runtime vs2010
body: <p>I found a solution that must be for a older version then vs2010. I would like to know how to do this for vs2010? Does anyone know?</p>
  
  <p><a href="http://www.csharpbydesign.com/2008/01/overriding-dataset-settings-co.html" rel="nofollow">http://www.csharpbydesign.com/2008/01/overriding-dataset-settings-co.html</a></p>
  
  <p>Let me explain little more detail. </p>
  
  <p>I have a c# generated dataset. How can I change the connection string so I can use the dataset with another (identically structured yet differently populated) database? This has to occur at runtime as I do not know the server or database name at compile time. i AM USING vs2010 and SQL Server 2008 R2 Express</p>