Santosh
Santosh

Reputation: 127

Crystal Report Is Displaying only one row from datatable which has 10 rows

I have developed a Windows Application which generates report without database using C#.

I have added a Dataset and a DataTable to it as datasource to crystal report. My datatable gets a minimum of 1 row. Even when my datatable has multiple(like 4,5,10) rows the crystal report still displays only the first row of the datatable.

I have used breakpoints and validated that my datatable has multiple rows.

I am using Windows XP Service Pack 3 (64-Bit) OS Visual Studio 2010 Professional .Net Framework 4 Crystal Report(Downloaded From SAP Website last month)

Thank You

Please help me out with this

Upvotes: 0

Views: 5157

Answers (1)

Max
Max

Reputation: 7586

Maybe you put the table fields in the "Page header" or in the "Report header" section of your report.

If this is the case, you should put your fields in the "Details" section.
The "Detail" section of the report will be repeated for each rows in your data source.

Upvotes: 1

Related Questions