I know I just missing something simple, but when I try pulling the connection string from the ConfigurationManager, I always get null.
I have System.configuration added as a reference
In the source file I have
using System.Configuration;
using MySql.Data;
using MySql.Data.MySqlClient;
....
_connStr = ConfigurationManager.ConnectionStrings["MySqlDataConnection"].ConnectionString;
objConnection = new MySqlConnection(_connStr);
where in my app config I have...
<configuration>
<connectionStrings>
<add name="MySqlDataConnection"
connectionString="server=127.0.0.1;database=HLSDB;uid=me;password=myPasswd;pooling=false;"
providerName="MySql.Data.SqlClient"/>
</connectionStrings>
</configuration>