Category Archives: The Open Group
C#讀寫app.config中的數據
讀語句: String str = ConfigurationManager.AppSettings["DemoKey"]; 寫語句: Configuration cfa = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None); cfa.AppSettings.Settings["DemoKey"].Value = “DemoValue”; cfa.Save(); 配置文件內容格式:(app.config) <?xml version=”1.0″ encoding=”utf-8″ ?> <configuration> <appSettings> <add key=”DemoKey” value=”*” /> </appSettings> </configuration> 紅筆標明的幾個關鍵節是必須的 System.Configuration.ConfigurationSettings.AppSettings["Key"]; 但是現在FrameWork2.0已經明確表示此屬性已經過時。並建議改為ConfigurationManager 或WebConfigurationManager。並且AppSettings屬性是只讀的,並不支持修改屬性值. 但是要想調用ConfigurationManager必須要先在工程裏添加system.configuration.dll程序集的引用。 (在解決方案管理器中右鍵點擊工程名稱,在右鍵菜單中選擇添加引用,.net TablePage下即可找到) 添加引用後可以用 String str = ConfigurationManager.AppSettings["Key"]來獲取對應的值了。 更新配置文件: … Continue reading
[51-Pass]Provide The Open Group Certification for pass OG0-081 exam
TOGAF 8 Certification for Practitioners(The Open Group Certification) (OG0-081 Exam) 屬於 Open Group Certification認證考試,如果妳正在為參加該考試發愁,you can visit 51-PASS,if you have any questions please Click The Open Group Certification OG0-081. 獲取新的認證正是成為在IT領域的艱巨任務,這些認證是不容易實現,因為這需要對研究專業和Open Group認證的獻身精神。更多對這些考試,現在不斷更新和接受這壹挑戰,本身是壹個任務。這Open Group的OG0-081題庫考試是Open Group的重要組成部分,認證測試專家51-Pass的OG0-081考古題有資源準備這些.核心部分Open Group認證,壹旦妳清楚妳的認證考試將能夠實時解決自己的問題。 學習指南:最新51-Pass的The Open Group Certification考試可以輕鬆通過OG0-081認證。 The Open Group … Continue reading