michaeltaylor1329
michaeltaylor1329
Good question! I hope someone who knows answers....
This seems to work - using the Northwind database, Orders table: //PUT IN VIEW: @Html.MVCGrid("Orders") MVCGridDefinitionTable.Add("Orders", new MVCGridBuilder() .WithAuthorizationType(AuthorizationType.AllowAnonymous) .AddColumns(cols => { // Add your columns here cols.Add().WithColumnName("OrderID") .WithHeaderText("OrderID") .WithValueExpression(i...
The OrdersModel: // OrdersModel.cs using System; using System.Collections.Generic; using System.Linq; using System.Web; public class OrdersModel { public string OrderID { get; set; } public string CustomerID { get; set; }...