Hi
I have done many Reports using SQL 2005 Reporting Services and I can access them by:
http://localhost/Reports
In my ASP.NET application, I have 3 buttons:
Preview, Print and Save
If the user clicks on Preview the report is displayed
if the user clicks on Print,the report is sent automatically to the printer
if the user clicks on Save,the report is Exported in Pdf format to C:/
Can anyone give me some tutorials on how to manage Reports(.rdc) from ASP.NET
Hi,
From your description, it seems that you are wondering how to embed your report in ASP.Net application, right?
Generally, you can add a report viewer to your aspx page. You can follow the steps below to add your report viewer.
Open the Toolbox window. From the Data group, drag a ReportViewer control onto the page.
If it is not already open, open the ReportViewer Tasks smart tag panel by clicking the triangle in the upper right corner of the ReportViewer control on the Web page. In the Choose Report box, select the fully qualified file name for Report.rdlc.
When you select a report, instances of data sources used in the report are created automatically. Code is generated to instantiate each DataTable (and its DataSet container) and an ObjectDataSource control corresponding to each data source used in the report. This data source control is configured automatically.
And then, you can preview and print reports from reportviewer in the following way:
http://msdn2.microsoft.com/en-us/library/ms251693(VS.80).aspx
For more information on embed a report in your website, see:
http://msdn2.microsoft.com/en-us/library/ms252123(VS.80).aspx
Thanks.
No comments:
Post a Comment