2014年2月6日

[转载]C#读写配置文件(XML文件)

摘要: .xml文件格式如下[xhtml]view plaincopyC#初始化[c-sharp]view plaincopyprivatestaticXmlDocumentxmlIAUConfig;staticConfigManager(){xmlIAUConfig=newXmlDocument();XMLPath=Assembly.GetExecutingAssembly().CodeBase;Int32i=XMLPath.LastIndexOf("/");XMLPath=XMLPath.Remove(i);XMLPath=XMLPath+@"/abc.xml&quo 阅读全文

posted @ 2014-02-06 22:27 iackjee 阅读(245) 评论(0) 推荐(0) 编辑

导航