Skip to content

This example demonstrates how to create an ASPxPivotGrid and bind it to data via code.

License

Notifications You must be signed in to change notification settings

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

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 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

Does this example address your development requirements/objectives?

(you will be redirected to DevExpress.com to submit your response)