Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
.NET Framework 2 を使用していますが、LINQ to XML を使用できません。XmlDocument オブジェクトに読み込まれた XML ファイルから複数の列を返す SQL SELECT に相当するものを実行するには、どのような方法が最適でしょうか?
XPathとSelectNodes関数を使用します。
リンクされた記事から:
System.Xml.XmlNodeList MSPressBookList = xmldoc.SelectNodes("//Publisher[. = 'MSPress']/parent::node()/Title");
http://support.microsoft.com/kb/318499