<div id="Grid1"></div>
@using DbNetLink.DbNetSuite.UI
@{
    DbNetGrid Grid = new DbNetGrid();
    Grid.ConnectionString = "SamplesDatabase";
    Grid.PageSize = 10;
    Grid.FromPart = "Categories";
    Grid.ID = "Grid1";
    Grid.Theme = Themes.Bootstrap;
        
    Grid.ToolbarButtonStyle = DbNetLink.DbNetSuite.Shared.ToolButtonStyles.ImageAndText;
                                                      
    @Html.Raw(DbNetLink.DbNetSuite.UI.MVC.Render(Grid));
};