简体   繁体   English

根据DateTime属性C#,XPath对XML节点进行排序(请参阅旧文章)

[英]Sorting XML nodes based on DateTime attribute C#, XPath (refer to an old post)

I'm referring to this old post: Sorting XML nodes based on DateTime attribute C#, XPath 我指的是这篇旧文章: 基于DateTime属性C#,XPath对XML节点进行排序

I put my question today (it is visible in the bottom) but I'm afraid it won't be visible since the post is old... so I'm asking as new question... I tryed a piece of code by Timothy Khouri but I can't manage to make it run, can you help me guys? 我今天提出了我的问题(在底部可见),但由于该帖子很旧,所以我无法看到它。所以我问的是新问题。我尝试了一段代码蒂莫西·库里(Timothy Khouri),但我无法使其运行,您能帮助我吗? Please, read the old post to see the code I'm talking about. 请阅读旧文章以查看我在说的代码。 Thanks. 谢谢。

好的,伙计们...我的错...我正在使用按来源创建Visual C#2005环境的应用程序...我用V. C#2008从头开始了一个新项目,它起作用了...对不起错误...感谢您的答复。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM