讀取 <appSettings> 裡面的設定值

摘要:讀取 裡面的設定值

using System.Configuration;

 

 

string strconn = ConfigurationManager.ConnectionStrings["Green"].ConnectionString;