Here is the Visual Studio 2008 webform
<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="SalesOrder.aspx.vb" Inherits="SyncfusionGridTest.SalesOrder" %>
<%@ Register Assembly="Syncfusion.EJ.Web, Version=16.1350.0.24, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89" Namespace="Syncfusion.JavaScript.Web" TagPrefix="ej" %>
<%@ Register Assembly="Syncfusion.EJ, Version=16.1350.0.24, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89" Namespace="Syncfusion.JavaScript.Models" TagPrefix="ej" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div>
<ej:Grid ID="gvSalesOrders" runat="server">
<Columns>
<ej:Column Field="SalesOrder" HeaderText="Sales Order" />
<ej:Column Field="ikqty" HeaderText="Quantity" />
<ej:Column Field="Vendor" HeaderText="Vendor" />
<ej:Column Field="YourProdCode" HeaderText="Supplier Code" />
<ej:Column Field="pdabbdesc" HeaderText="Description" />
<ej:Column Field="CustomerCode" HeaderText="Buyer ID" />
<ej:Column Field="OrderStatus" HeaderText="Current Status" />
</Columns>
</ej:Grid>
</div>
</form>
</body>
</html>
In the Code Behind I bind to a DataTable populated from the SQL database
Dim AuctionsDB As Bids.AuctionsDB = New Bids.AuctionsDB
Dim tblSalesOrder As New DataTable
tblSalesOrder = AuctionsDB.GetSalesOrderStatusByCatNo("Admin", "GFA", 937, 0)
gvSalesOrders.DataSource = tblSalesOrder
gvSalesOrders.DataBind()
The Web Form is empty but contains the Data in a CDATA as JSON
<div>
<div id="gvSalesOrders"></div><span id="gvSalesOrders"></span>
</div>
//<![CDATA[
$("#gvSalesOrders").ejGrid({"selectedRowIndices":[],"_checkedRowIndices":[],"dataSource":ej.isJSON([{"Vendor":"CHC","AuctionDate":"\/Date(1521600041903)\/","AuctionNo":937,"ikcatdetid":34569,"SalesOrder":574,"OrderlineID":19823,"Customercode":12434,"OurProdcode":4001,"YourProdcode":"WTG","ikqty":6,"ikpriceper":1,"pdabbdesc":"Whiting","OrderStatus":"NEW ORDER","pdcatdesc":"Whiting 15KG - Small - #1"},{"Vendor":"CHC","AuctionDate":"\/Date(1521600041903)\/","AuctionNo":937,"ikcatdetid":34569,"SalesOrder":574,"OrderlineID":19825,"Customercode":12434,"OurProdcode":4001,"YourProdcode":"WTG","ikqty":9,"ikpriceper":1,"pdabbdesc":"Whiting","OrderStatus":"NEW ORDER","pdcatdesc":"Whiting 15KG - Small - #1"},{"Vendor":"CHC","AuctionDate":"\/Date(1521600041903)\/","AuctionNo":937,"ikcatdetid":34562,"SalesOrder":574,"OrderlineID":19821,"Customercode":12434,"OurProdcode":4058,"YourProdcode":"PWK","ikqty":20,"ikpriceper":1,"pdabbdesc":"Prawns - King","OrderStatus":"NEW ORDER","pdcatdesc":"Prawns - King 12kg box - Large - #1"},{"Vendor":"CHC","AuctionDate":"\/Date(1521600041903)\/","AuctionNo":937,"ikcatdetid":34561,"SalesOrder":574,"OrderlineID":19819,"Customercode":12434,"OurProdcode":4079,"YourProdcode":"OCT","ikqty":6,"ikpriceper":1,"pdabbdesc":"OCTOPUS","OrderStatus":"NEW ORDER","pdcatdesc":"OCTOPUS - 15kg - Small - #1"}]),"cssClass":"","locale":"en-AU","columns":[{"field":"SalesOrder","headerText":"Sales Order"},{"field":"ikqty","headerText":"Quantity"},{"field":"Vendor","headerText":"Vendor"},{"field":"YourProdCode","headerText":"Supplier Code"},{"field":"pdabbdesc","headerText":"Description"},{"field":"CustomerCode","headerText":"Buyer ID"},{"field":"OrderStatus","headerText":"Current Status"}],"clientId":"gvSalesOrders","uniqueId":"gvSalesOrders"});
//]]>