c# connection string web.config 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