close

右邊的選單的加入參考System.Configuration
不是using System.Configuration;

在程式內才能使用,不會報錯

configurationmanager.appsettings

string DNS = ConfigurationSettings.AppSettings.Get("DNS");

string DNS = ConfigurationManager.AppSettings["DNS"];

string DNS = Config.DNS;


arrow
arrow
    全站熱搜
    創作者介紹
    創作者 giga0066 的頭像
    giga0066

    粗心老爹育兒記事_記給零零落落(裡裡六六)

    giga0066 發表在 痞客邦 留言(0) 人氣()