I have connection string:
<add name="fullDataBase"
connectionString="Data Source=.;Initial Catalog=Equipme;Integrated Security=True"
providerName="System.Data.SqlClient"/>
And then I can get name of catalog from it when I get this string using:
string connectionString = ConfigurationManager.ConnectionStrings[_connectionString].ConnectionString;
In my case it should be Equipme
Use the
SqlConnectionStringBuilderclass: