multiple elements in web.config - asp.net
<p>Currently my web.config has this:</p>

<pre><code> &lt;appSettings&gt;
    &lt;add key="UserName" /&gt;
    &lt;add key="DBServer" /&gt;
    &lt;add key="DBUserName" /&gt;
    &lt;add key="DBPwd" /&gt;
    &lt;add key="DB" /&gt;
  &lt;/appSettings&gt;
</code></pre>

<p>If i have to connect to multiple db's I would like my web.config to have the following</p>

<pre><code>&lt;appSettings&gt;
    &lt;add key="UserName" /&gt;
    &lt;add key="DBServer" /&gt;
    &lt;add key="DBUserName" /&gt;
    &lt;add key="DBPwd" /&gt;
    &lt;add key="DB" /&gt;
  &lt;/appSettings&gt;

&lt;!--This section needs to hold data for another db server --&gt;
 &lt;appSettings&gt;
    &lt;add key="UserName" /&gt;
    &lt;add key="DBServer" /&gt;
    &lt;add key="DBUserName" /&gt;
    &lt;add key="DBPwd" /&gt;
    &lt;add key="DB" /&gt;
  &lt;/appSettings&gt;
</code></pre>

<p>The key names should be the same. Or is having multiple connection string sections the way to go?</p>
