Skip to content

Commit 65bf984

Browse files
authored
Update Readme.md
1 parent f137a55 commit 65bf984

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

Readme.md

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,21 @@
33
[![](https://img.shields.io/badge/Open_in_DevExpress_Support_Center-FF7200?style=flat-square&logo=DevExpress&logoColor=white)](https://supportcenter.devexpress.com/ticket/details/E2986)
44
[![](https://img.shields.io/badge/📖_How_to_use_DevExpress_Examples-e9f6fc?style=flat-square)](https://docs.devexpress.com/GeneralInformation/403183)
55
<!-- default badges end -->
6-
<!-- default file list -->
7-
*Files to look at*:
6+
# Pivot Grid for Web Forms - How to create and bind Pivot Grid to data in code
87

9-
* [Default.aspx](./CS/ASPxPivotGrid_RuntimeDataBinding/Default.aspx) (VB: [Default.aspx](./VB/ASPxPivotGrid_RuntimeDataBinding/Default.aspx))
10-
* [Default.aspx.cs](./CS/ASPxPivotGrid_RuntimeDataBinding/Default.aspx.cs) (VB: [Default.aspx.vb](./VB/ASPxPivotGrid_RuntimeDataBinding/Default.aspx.vb))
11-
<!-- default file list end -->
12-
# How to create and bind Pivot Grid to data in code
13-
<!-- run online -->
14-
**[[Run Online]](https://codecentral.devexpress.com/e2986/)**
15-
<!-- run online end -->
8+
This example demonstrates how to create a Pivot Grid and bind it to data via code.
169

10+
In this example, the [ASPxPivotGrid](https://docs.devexpress.com/AspNet/DevExpress.Web.ASPxPivotGrid.ASPxPivotGrid) and AccessDataSource instances are created and initialized in code. The Pivot Grid is bound to data by assigning the AccessDataSource instance to the [ASPxPivotGrid.DataSource](https://docs.devexpress.com/AspNet/DevExpress.Web.ASPxPivotGrid.ASPxPivotGrid.DataSource) property. Then the [ASPxPivotGrid.RetrieveFields](https://docs.devexpress.com/AspNet/DevExpress.Web.ASPxPivotGrid.ASPxPivotGrid.RetrieveFields.overloads) method is used to create pivot grid fields for all data source fields.
11+
12+
## Files to Look At
13+
14+
- [Default.aspx](./CS/ASPxPivotGrid_RuntimeDataBinding/Default.aspx) (VB: [Default.aspx](./VB/ASPxPivotGrid_RuntimeDataBinding/Default.aspx))
15+
- [Default.aspx.cs](./CS/ASPxPivotGrid_RuntimeDataBinding/Default.aspx.cs) (VB: [Default.aspx.vb](./VB/ASPxPivotGrid_RuntimeDataBinding/Default.aspx.vb))
16+
17+
## Documentation
18+
19+
- [Binding to Data in Pivot Grid](https://docs.devexpress.com/AspNet/7258/components/pivot-grid/binding-to-data/binding-to-data-overview?p=netframework#code)
1720

18-
<p>This example demonstrates how to create an ASPxPivotGrid and bind it to data via code.</p><p>In this example, the ASPxPivotGrid and AccessDataSource instances are created and initialized in code. The Pivot Grid is bound to data by assigning the AccessDataSource instance to the ASPxPivotGrid.DataSource property. Then the ASPxPivotGrid.RetrieveFields method is used to create pivot grid fields for all data source fields.</p>
1921

20-
<br/>
2122

2223

0 commit comments

Comments
 (0)