1、在CEL2010中拖拽XML文件,以便快速打开。
2、选择文件,打开,查找XML文件的路径,确定后就能打开文件。裤郑侍
只圆历能循百环查找全部度xml,比如:foreach(string
file
in
Directory.GetFiles(@“知c:\abc\“)){
XmlDocument
l_xml
=
new
XmlDocument()
l_xml.Load(file)
XmlNode
node
=
l_xml.DocumentElement.SelectSingleNode(“ID“)
if(node
!=
null
&&
node.InnerText
==
你的道id值){
这个回file就是纤轿你要的橘竖搜答文件了
}
}
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)