Razor
DbNetGridCore customersGrid = new DbNetGridCore("northwind", "customers")
{
Columns = new List() { "CustomerId", "CompanyName", "ContactName", "ContactTitle", "Address", "City", "Region", "PostalCode", "Country", "Phone", "Fax" },
ToolbarPosition = ToolbarPosition.Hidden,
FrozenHeader = true
};
customersGrid.Column(new String[] { "CustomerId", "CompanyName", "ContactName", "ContactTitle", "Address", "City", "Region", "PostalCode", "Country", "Phone", "Fax" }).Filter();
@customersGrid.Render()