Quantcast
Channel: ASPSnippets RSS Feed
Viewing all articles
Browse latest Browse all 4757

Set Default Selected (Empty) value for Html.DropDownList from Model in ASP.Net MVC

$
0
0
Here Mudassar Ahmed Khan has explained with an example, how to set Default Selected value (Default Empty value) for Html.DropDownList from Model in ASP.Net MVC Razor. The DropDownList with Default Selected value will be populated from database using Entity Framework and Html.DropDownList helper function in ASP.Net MVC Razor.

Viewing all articles
Browse latest Browse all 4757