AxpDataGrid

AxpDataGrid Constructor 

Initializes a new instance of the AxpDataGrid class.

[Visual Basic]
Public Sub New()
[C#]
public AxpDataGrid();

Remarks

The AxpDataGrid should always be created on an aspx page as a control.
It must be placed inside a form tag

Example aspx code:

<%@ Register TagPrefix="axp" Namespace="Axezz.WebControls" Assembly="AxpDBNet" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
  <HEAD>
    <LINK href="AxpStyleWindowsGrid.css" rel=STYLESHEET >
  </HEAD>
<body>

<form id="Form1" method="post" runat="server">
  <axp:axpdatagrid Runat=Server ID=AxpDataGrid1
    ConnectionString="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Access\NWind.mdb"
    SQL="Select * From Products"
  ></axp:axpdatagrid>
</form>

See Also

AxpDataGrid Class | Axezz.WebControls Namespace