I've a Data Access Layer that needs to get the Connection String from the app.config file.
Tried using :
this .connectionString = ConfigurationManager.AppSettings["connectionString"];
but when I run the app the connectionString is null
the setting in the app.config file is
name ="HDRDB.Properties.Settings.HDRDBConnectionString" connectionString="Data Source=NTS14;Initial Catalog=HDRDB;Persist Security Info=True;User ID=hdrd_dba;Password=password"
providerName="System.Data.SqlClient"
sorry if this is simple but its my first C# app
ee
Visual C#8
|