views:

212

answers:

2

I need to create a clients details report for a web based application in c#.Net. There will be multiple client details one by one.

When take print of this web page, the first page will be the cover page and the remaining pages contains clients details. The pages except the cover page should be numbered “page x of y” in the centre of the footer. The top of each page should display the client name that is the subject of the sub-report. If part of a sub-report section spans onto a new page, the whole section should be moved to the new page. Any solution for implementing this?

A: 

I would create a template of my report with the ReportViewer control. Then I would push data into it from code behind or link it to my DB to generate report automatically. You can find a Getting start with report viewer there.

lucian.jp
A: 

Hi,

Thanks for your post. But I am newbie in Reportviewer web server control. Will you please tell me how can I include the Microsoft.ReportViewer.WebForms namespace reference in my ascx page. can I download the dll for this component and place in bin directory. Now i am using asp:repeator web server control for displaying sql data for my report web page. Nested repeators are also used.There are subreports. Can I bind multiple datasets and datasets with multiple table data (like nested repeator) to the ReportViewer.Reportsource. Please help me..