📜  c# 如何从应用配置中获取连接字符串 - C# 代码示例

📅  最后修改于: 2022-03-11 14:48:40.134000             🧑  作者: Mango

代码示例1
var connectionString=ConfigurationManager.ConnectionStrings["CharityManagement"].ConnectionString;