title: How can I get ConnectionString Name from config file
body: <p>I can read the connection strings from the 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>