c# write connection string access database to app.config code example
Example: c# how to get connection string from app config
var connectionString=ConfigurationManager.ConnectionStrings["CharityManagement"].ConnectionString;
var connectionString=ConfigurationManager.ConnectionStrings["CharityManagement"].ConnectionString;