Dynamic field MVC

Job ID: 34391791

Budget: $14 – $30 NZD

This need to be done using model view controller in .net core or mvc5. Avoid using Viewbags to dump data.

Load a datagrid which only shows fields that can be displayed. logic should not be done from the view but from controller as a datasource.

There should be a separate page where we can select the fields to be displayed on the grid.
if it is saved it as only firstname and last name, grid in the other page should only show first name and last name and should not display OrderId


public class Order
{

[Key]
public int Id { get; set; }
[Required]
public string Id { get; set; }
public string FirstName { get; set; }
public string LastName { get; set; }
}
Related categories: .NET C# Programming MVC ASP.NET Microsoft SQL Server