Asp.net 使用xml数据源在asp:Treeview上进行聚合
我需要输出xml的DateTime元素的不同值以及它在xml中出现的时间,所有这些都使用asp:treeview控件 xml文件:Asp.net 使用xml数据源在asp:Treeview上进行聚合,asp.net,xml,Asp.net,Xml,我需要输出xml的DateTime元素的不同值以及它在xml中出现的时间,所有这些都使用asp:treeview控件 xml文件: <company> <Status>0</Status> <StatusDescription></StatusDescription> <FileList> <File> <Fi
<company>
<Status>0</Status>
<StatusDescription></StatusDescription>
<FileList>
<File>
<FileID>120012</FileID>
<DateTime>3/12/2011</DateTime>
</File>
<File>
<FileID>120010</FileID>
<DateTime>3/13/2011</DateTime>
</File>
<File>
<FileID>120011</FileID>
<DateTime>3/12/2011</DateTime>
</File>
</FileList>
</company>
所需输出:
2011年3月12日2
2011年3月13日1
我可以绑定并列出日期,但如何使其显示不同的值和计数
谢谢,谢谢你的帮助