The text of this article is not in this database — only its details are. Read it on the old site: MVC Populate Dropdown
5 Comments
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment.
The text of this article is not in this database — only its details are. Read it on the old site: MVC Populate Dropdown
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment.
Amit KaryekarPosted Jul 18, 2015, 6:59 AM
ViewBag.CountryList = new SelectList(new User().GetCountryList(),"Code","Name"); can someone plz explain me the context of user() in the above line i didnt understood it gives a compilation error i m rookie to mvc
twp saddamPosted Oct 20, 2012, 5:36 AM
great job
twp saddamPosted Oct 20, 2012, 5:36 AM
great job.....
Subal MishraPosted Jul 26, 2012, 11:36 PM
Richa, for Linq to SQL yes...
Richa GargPosted Jul 26, 2012, 11:04 PM
Is it is necessary to use the lamda expression when I use any controls like textbox,label etc in Razor view?