AxpDataGrid

AxpDataGrid Class

The AxpDataGrid WebControl

For a list of all members of this type, see AxpDataGrid Members.

System.Object
   System.Web.UI.Control
      System.Web.UI.WebControls.WebControl
         Axezz.WebControls.AxpDataGrid

[Visual Basic]
Public Class AxpDataGrid
    Inherits WebControl
    Implements IPostBackDataHandler, IPostBackEventHandler
[C#]
public class AxpDataGrid : WebControl, IPostBackDataHandler, IPostBackEventHandler

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

Using AxpDataGrid in your ASP application

1. Copy the AxpDBNet.dll file to the bin directory of your application.
2. For licensed versions, copy the Axezz.WebControls.AxpDataGrid.lic file to the same directory
3. Make sure to add a reference to AxpDBNet.dll in your project

AxpDataGrid should always be created in an aspx Page or in a User Control.
It must be placed inside a Form tag with the runat="Server" attribute

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>

Requirements

Namespace: Axezz.WebControls

Assembly: AxpDBNet (in AxpDBNet.dll)

See Also

AxpDataGrid Members | Axezz.WebControls Namespace