Upgrading an ASP.NET MVC 1.0 Project to ASP.NET MVC 2

Upgrading an ASP.NET MVC 1.0 Project to ASP.NET MVC 2 To upgrade an existing ASP.NET MVC 1.0 application to version 2, follow these steps: Make a backup of the existing project. Open the project file in a text editor (the file with the .csproj or .vbproj file extension) and find the ProjectTypeGuid element. As the [...]

Asp.net MVC Dropdown selected value

How to get selected item in asp.net drop down list using asp.net mvc? If you are struggling with how to show selected value in asp.net Drop down list using asp.net mvc then following code may be helpful. Asp.net MVC Controller Code /// /// Sets the drop down private void setDropDown(Company company) { ICountryRepository countryRepository = [...]