Click here to Skip to main content
15,879,326 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I want to develop a report where the report header section values change on different pages and the report body should bind according to the header values. And the header section should display in each page of the report even though there is a subreport page breaks happens.

Now I am passing 2 data set from C# code. One is for report header and one is for report body. For report body I am using a subreport and binding the subreport from C# code according to the key field on the report header dataset.

I have created some hidden textbox and first binding those textboxes from the report header dataset. Then by using the expression "=ReportItems!txtbx_bdy.Values" for the header section textboxes I am binding the report header section.

Now the problem is when the sub-report in the body section has more number of records it breaks to next page, and the header textboxes are displaying blank from the second page onwards.

Please help me out if anybody already fixed this type of issue.


Thanks,
Posted
Updated 11-Sep-14 19:27pm
v2
Comments
CHill60 9-Sep-14 18:45pm    
Try putting your question into the body of your post and changing the title to something meaningful...ans shorter. Also post details of what you have already tried
aurobindadash 18-Sep-14 12:34pm    
Anyone in this world have any idea of how to get rid of this issue??

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900