Skip to content

DevExpress-Examples/web-forms-pivot-grid-bind-to-sql-data-source

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pivot Grid for Web Forms - How to Create and Bind Pivot Grid to Data in Code

This example demonstrates how to create a Pivot Grid and bind it to data via code.

In this example, the ASPxPivotGrid and SqlDataSource instances are created and initialized in code.

Assign the SqlDataSource instance to the ASPxPivotGrid.DataSource property to bind the Pivot Grid to data. Then call the ASPxPivotGrid.RetrieveFields method to generate DataSourceColumnBinding objects for each Pivot Grid field.

Files to Review

Documentation