Skip to content

DevExpress-Examples/asp-net-web-forms-grid-create-report-based-on-grid-layout

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Grid View for ASP.NET Web Forms - How to create a report based on grid data

This example demonstrates how to dynamically create a DevExpress report based on the ASPxGridView control's data and layout. The resulting report maintains all sorting, grouping, and filtering settings applied to the grid. The example code exports this report to a PDF file, but you can also insert the resulting report into another report.

Create a Report Based on Grid View Data

Follow the steps below to create a report based on the Grid View control's data:

  1. Create an instance of the XtraReport class.
  2. Bind the instance to the Grid View's data source.
  3. Based on the Grid layout, create bands and add them to the report.
  4. Create report controls and add them to the bands.

Files to Review

Documentation

More examples