MVC Archive

Filling Dropdown in asp view in MVC3

If you are using asp views and need to fill a Drowpdown . The Below is the code for filling Drowpdown in asp view in MVC3. Code in Model using System; using System.Web; using System.ComponentModel.DataAnnotations; using System.ComponentModel;

Creating Web Grid in asp view in MVC3

If you are using asp views and need to build a grid to show data, you can use WebGrid. The WebGrid will have several features like custom styles, sorting, paging. The Below is the code for Creating