摘要: 1、http://www.cnblogs.com/yaozhenfa/p/CSharp_Reflection_1.html 阅读全文
posted @ 2014-12-22 22:25 谷樵 阅读(107) 评论(0) 推荐(0) 编辑
摘要: 未能加载文件或程序集“E:\\Test\\AdvanceApp\\CommonHelper\\bin\\Debug\\CommonHelper.dll”或它的某一个依赖项。给定程序集名称或基本代码无效。 (异常来自 HRESULT:0x80131047) 阅读全文
posted @ 2014-12-22 21:38 谷樵 阅读(120) 评论(0) 推荐(0) 编辑
摘要: Assembly ass; Type type; Object obj; Object any = new Object(); ass = Assembly.LoadFile(@"F:\TestDemos\As... 阅读全文
posted @ 2014-12-22 18:29 谷樵 阅读(128) 评论(0) 推荐(0) 编辑
摘要: 需要引用的命名空间:using System.Xml;常用的类:XmlDocument、XmlElement、XmlNode、XmlNodeList一、使用XmlDocument创建xml //创建XmlDocument对象 XmlDocument xmlDoc = new X... 阅读全文
posted @ 2014-12-22 17:43 谷樵 阅读(254) 评论(0) 推荐(0) 编辑
摘要: 需要引用的命名空间: using System.Xml.Linq;常用的类:XDocument、XElement、XAttribute创建 XDocument对象。XDocument.Load():从文件、URI 或流中读取 XML 文档XDocument.Parse():从一个字符串加载 XML... 阅读全文
posted @ 2014-12-22 16:41 谷樵 阅读(203) 评论(0) 推荐(0) 编辑