c# web config connection string code example
Example 1: c# how to get connection string from app config
var connectionString=ConfigurationManager.ConnectionStrings["CharityManagement"].ConnectionString;
Example 2: get connection string from web.config in c#
get connection string