How can I get ConnectionString Name for config file
<p>I can read the connectionstring/s from config file however I need to get the element name that is associated with connection string </p>

<p>Example</p>

<pre><code>&lt;connectionStrings&gt;
&lt;add 
  name="LocalSqlServer" 
  connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|aspnetdb.mdf;User Instance=true" 
  providerName="System.Data.SqlClient"   /&gt;
 &lt;/connectionStrings&gt;
</code></pre>

<p>I need to get LocalSqlServer out of the connectionString</p>
