Populating dropdown from the XML in C#

后端 未结 5 2156
花落未央
花落未央 2021-01-06 06:00

I have got below xml format with me and I am using .NET 2.0.



  

        
5条回答
  •  悲哀的现实
    2021-01-06 06:08

    You could use Linq-to-XML to get a collection of the values you want from the xml tree and bind that to your dropdownlist. see this link: http://msdn.microsoft.com/en-us/library/bb387061.aspx

提交回复
热议问题