Visual Studio ReportViewer repeating data block on every page
Posted
by
muhan
on Stack Overflow
See other posts from Stack Overflow
or by muhan
Published on 2009-09-02T09:06:44Z
Indexed on
2010/12/24
5:54 UTC
Read the original article
Hit count: 346
visual-studio
|reportviewer
I am using Reportviewer to generate a sales invoice to be printed by the user. How can I get databound fields to be printed on every page of a multi page invoice?
The invoice is printed on a pre-printed form. I want the printed form to look roughly like:
page 1
customer john smith
123 main st.
city, CA 90000
some item1 $100
some item2 $150
some item3 $150
page 2
customer john smith
123 main st.
city, CA 90000
some item4 $500
some item5 $250
some item6 $950
Total $2100
Using 1 list which contains databound textbox fields for the customer info, and a table for the items. The problem is if there are many items such that the items flow over to page 2, the next page only contains items, and not the customer info which needs to be printed on second page as well.
I tried using page header, but I can't use databound items in page header. Please Help!
© Stack Overflow or respective owner