| Components |
AxpDataGrid is a .Net WebControl and is written in 100% managed code.
The download contains 33 Samples in Visual Basic (VB.net) and C#.
|
|
 |
|
|
Demo 2 - Form view only
|
Display a list of detailed records as separate blocks.
Using regular expression replace to highlight words in Notes.
|
Record (1..2) of 9 |
|
Page 1 of 5 |
|
|
|
|
Record (1..2) of 9 |
|
Page 1 of 5 |
|
This AxpDataGrid.Net Demo is using MSSQL 2000 Northwind database.
Aspx Code
<form id="Form1" method="post" runat="server">
<axp:axpdatagrid
ID=AxpDataGrid1
Runat=Server
ConnectionString="Provider=sqloledb;....."
SQL="Select * From Employees"
DisplayType="form"
OrderByFields="2"
RecordsPerPage=2
RecordsPerPageOptions="2,3,4,5,10"
FormCellWidths="100,400"
DisplayNavBar="both"
></axp:axpdatagrid>
</form>
C# Codebehind:
private void Page_Load(object sender, System.EventArgs e)
{
AxpDataGrid1.SetGridFormatCellFunction(16, "RegExpReplace, /(\\sEnglish|\\sFrench|\\sSpanish|\\sItalian|\\sJapanese|\\sGerman)/gi,<span style=\"background-color:yellow\">$1</span>");
}
|
Styles
Stylesheet:
Buttons:
All demos on these pages use the MSSQL 2000 Northwind sample database.
The samples in the download is designed to work with the Microsoft Access and MSSQL 2000
Northwind database.
AxpDataGrid works with any OleDB enabled database using standard SQL, e.g. Oracle
The grid view works with
any .NET DataSource that can be evaluated as a .Net DataView (this includes DataSet, DataTable and DataView)
|