摘要:
1.将xml转换为DataTablestring path = "";//xml的位置StringReader sr = null;XmlTextReader xmlReader = null;if (File.Exists(path+"文件名")){ XmlDocument xmlDoc = ne... 阅读全文
摘要:
System.Reflection.AssemblySystem.ActivatorAssembly assembly = Assembly.load("namespace名")Type type = assembly.GetType("全称类名");object o = Activator.CreateInstance(type);object ds = type.InvokeMember("方法名",BindingFlags.Default|BindingFlags.InvokeMethod,null,o,参数名(object[] 阅读全文