Click here to Skip to main content
11,790,021 members (39,207 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: C# ASP.NET MVC

How bind Html.DropDownList to XML file in mvc?
Posted 12-Jun-11 16:22pm
Edited 13-Jun-11 4:19am
Member_6499766 at 13-Jun-11 2:15am
not clear...
Start Shining at 13-Jun-11 8:14am
can u explore your question a bit..? With some exact requirement you have..
Keith Barrow at 13-Jun-11 15:10pm
Not clear. If I understand your question correctly, I'd create a Model to get the data from the XML and generate the Dropdown list from the Model in the usual MVC fashion see not really databinding though.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 1,029
1 Maciej Los 790
2 KrunalRohit 686
3 CPallini 606
4 Richard MacCutchan 460

Advertise | Privacy | Mobile
Web03 | 2.8.1509028.1 | Last Updated 13 Jun 2011
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100