ASP.NET MVC 3 for render table

I'm new to ASP.NET MVC and would like to know if there is any helper here that could help make a simple table? For example, I call @Html.DisplayTableFor(model)

and the helper takes all the properties of the model and displays them as an html table.

+3


source to share


1 answer


You can use the webgrid option:

@{
    var grd = new WebGrid(options);
}
@grd.GetHtml();

      



You can find a tutorial here:

+2


source







All Articles