Skip to content

Commit f140d64

Browse files
authored
Merge pull request #1 from DevExpress-Examples/pollyndos-patch-1
Update Readme.md
2 parents 3d59da9 + e108ac3 commit f140d64

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

Readme.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
<!-- default badges list -->
2-
![](https://img.shields.io/endpoint?url=https://codecentral.devexpress.com/api/v1/VersionRange/128577281/22.1.2%2B)
32
[![](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)
43
[![](https://img.shields.io/badge/📖_How_to_use_DevExpress_Examples-e9f6fc?style=flat-square)](https://docs.devexpress.com/GeneralInformation/403183)
54
<!-- default badges end -->
6-
<!-- default file list -->
7-
*Files to look at*:
5+
# Pivot Grid for Web Forms - How to create and bind Pivot Grid to data in code
86

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 -->
7+
This example demonstrates how to create a Pivot Grid and bind it to data via code.
168

9+
In this example, the [ASPxPivotGrid](https://docs.devexpress.com/AspNet/DevExpress.Web.ASPxPivotGrid.ASPxPivotGrid) and SqlDataSource instances are created and initialized in code. The Pivot Grid is bound to data by assigning the SqlDataSource instance to the [ASPxPivotGrid.DataSource](https://docs.devexpress.com/AspNet/DevExpress.Web.ASPxPivotGrid.ASPxPivotGrid.DataSource) property. Then call the [ASPxPivotGrid.RetrieveFields](https://docs.devexpress.com/AspNet/DevExpress.Web.ASPxPivotGrid.ASPxPivotGrid.RetrieveFields.overloads) method to generate [DataSourceColumnBinding](https://docs.devexpress.com/AspNet/DevExpress.Web.ASPxPivotGrid.DataSourceColumnBinding?v=22.1) objects for each Pivot Grid field.
10+
11+
## Files to Look At
12+
13+
- [Default.aspx](./CS/ASPxPivotGrid_RuntimeDataBinding/Default.aspx) (VB: [Default.aspx](./VB/ASPxPivotGrid_RuntimeDataBinding/Default.aspx))
14+
- [Default.aspx.cs](./CS/ASPxPivotGrid_RuntimeDataBinding/Default.aspx.cs) (VB: [Default.aspx.vb](./VB/ASPxPivotGrid_RuntimeDataBinding/Default.aspx.vb))
15+
16+
## Documentation
17+
18+
- [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)
1719

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>
1920

20-
<br/>
2121

2222

config.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"runOnWeb": true,
2+
"runOnWeb": false,
33
"autoGenerateVb": true
4-
}
4+
}

0 commit comments

Comments
 (0)