title: how to change to connection string in web.config dynamically
body: <p>I defind the connection string in web.config</p>
  
  <pre><code>     &lt;ConnectionStrings&gt;
   &lt;add name="student" connectionString="Server=student;Max Pool Size=300;Initial Catalog=studentDB;User ID=student;Password=st123dent;" providerName="System.Data.SqlClient"/&gt;
       &lt;/Connectionstrings&gt;
  </code></pre>
  
  <p>how can i change the connection string dynamically in c#</p>