AxpDataGrid for ASP.net
[Axezz home] Axezz Home     [Portfolio] Portfolio       [Components] Products     [Forums and KB] Forums and KB      
Components
AxpDataGrid for ASP.NET
  Product description
  Download
  Pricing/Buy
  Online Documentation
  Axezz Forums

Demo 1 - Grid and Edit
With Lookup fields
Demo 1B - Filtering
Using LinkSelector
Select Row, Master-Detail
Using LinkSelector
Calculations
Row summaries
Demo 2 - Form view only
+ Regular expression
Demo 3 - Debug mode
Displays data column
info in Edit Form.
Demo 4 - Larger dataset.
Almost no coding.
Form contains more detail
Demo 5 - Searching
Demo 6 - Master Detail
Two grids
Demo 7 - Vertical Barchart
Simple charting
Demo 8 - Grid-Form
One grid, one Edit form
Demo 9 - Altering appearance
Cell content manipulation Image display
Demo 10 - Rich Text Editor
Html Editor (IE only)
and Calendar Popup
Demo 11 - Scrollable Grid

Visual Studio screen shot


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 1 - Grid and Edit
View and Edit a database table. Row mouse roll-over effect. Some data formatting.
NOTE Database updates are disabled. (Property EditPerformUpdates="False")

Records per Page : 
 Record (1..20) of 77    Page 1 of 4 
# ProductName QuantityPerUnit UnitPrice UnitsInStock
1 Chai 10 boxes x 20 bags $18.00 39
2 Change 24 - 12 oz bottles $19.00 17
3 Aniseed Syrup 12 - 550 ml bottles $11.00 13
4 Chef Anton's Cajun Seasoning 48 - 6 oz jars $22.00 53
5 Chef Anton's Gumbo Mix 36 boxes $21.35 0
6 Grandma's Boysenberry Spread 12 - 8 oz jars $25.00 120
7 Uncle Bob's Organic Dried Pears 12 - 1 lb pkgs. $30.00 15
8 Northwoods Cranberry Sauce 12 - 12 oz jars $40.00 6
9 Mishi Kobe Niku 18 - 500 g pkgs. $97.00 29
10 Ikura 12 - 200 ml jars $31.00 31
11 Queso Cabrales 1 kg pkg. $21.00 22
12 Queso Manchego La Pastora 10 - 500 g pkgs. $38.00 86
13 Konbu 2 kg box $6.00 24
14 Tofu 40 - 100 g pkgs. $23.25 35
15 Genen Shouyu 24 - 250 ml bottles $15.50 39
16 Pavlova 32 - 500 g boxes $17.45 29
17 Alice Mutton 20 - 1 kg tins $39.00 0
18 Carnarvon Tigers 16 kg pkg. $62.50 42
19 Teatime Chocolate Biscuits 10 boxes x 12 pieces $9.20 25
20 Sir Rodney's Marmalade 30 gift boxes $81.00 40
 Record (1..20) of 77    Page 1 of 4 

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 Products"
DeleteSQL="Delete From Products"
GridFieldsShow="2,5,6,7"-- Column numbers
GridCellWidths=",200,,,130,50,50"-- Column Widths
EditOptions="ALL NOVIEW"-- Disable the ReadOnly form
EditPrimaryKeys="ProductId"-- Table primary key
EditFieldsReadOnly="1"-- Column 1 is readonly
FormCellWidths="100,300"-- Column widths
DisplayNavBar="both"-- Display navigation bar at top and bottom
RowRollOverEffect="True"-- Enable mouse row roll over effect
RowClickAction="openform"-- Enable row click Open Form action
></axp:axpdatagrid>
</form>

C# Codebehind:
private void Page_Load(object sender, System.EventArgs e)
{
// Lookup fields:
  AxpDataGrid1.AddEditLookup ("SupplierId", // FieldName
    "Suppliers", // LookupTable
    "SupplierId", "CompanyName", // Keyfield, Displayfield
    "2", false); // OrderBy, NullAllowed

  AxpDataGrid1.AddEditLookup ("CategoryId",
    "Categories",
    "CategoryId", "CategoryName",
    "2", false);

// Format col 6 as 2 decimal Currency
  AxpDataGrid1.SetGridFormatCellFunction(6,"FormatCurrency, 2");

}
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)

  axezz data, geir kiste, vettaliveien 4B, 0781 oslo, norway. telephone +47 2249 6184, +47 913 66 449