define connectionstring in 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;