KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I can read the connection strings from the config file, however I need to get the element name that is associated with connection string. Example <connectionStrings> <add name="LocalSqlServer" connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|aspnetdb.mdf;User Instance=true" providerName="System.Data.SqlClient" /> </connectionStrings> I need to get LocalSqlServer out of the connectionString.
Tags (comma-separated)
Save Edits
Cancel