开发者

Displaying month-wise date in ASP.NET GridView

开发者 https://www.devze.com 2023-01-31 09:28 出处:网络
I have an ASP.NET GridView in which i want to show dates from selected month and year. Month and year fields are DropDownList and bound to XML data source. Is there any easy to do that or i 开发者_Sta

I have an ASP.NET GridView in which i want to show dates from selected month and year. Month and year fields are DropDownList and bound to XML data source. Is there any easy to do that or i 开发者_StackOverflowhave to use Code behind to add dates using iteration.


You should be able to, although you (may) have to be careful with your XML. Take a look at this SO thread, where Darin indicates that there was a bug in XmlDataSource which means you can only use attributes rather than node values -- and see if it helps.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号