RDLSample
RDLSample
RDLSample
I. II. III.
Creating your Reports i.e. .rdl Files (These file is used to design the Layout of your reports i.e. Look and Feel of the Report) Uploading your Reports (.rdl Files) in SQL Report Server. And writing code in your application to invoke these Reports from the SQL Report Server
Database Server
Web Service
Application Server
The above Diagram shows a simple architecture of a web scenario in which we have a Database Sever which is communicating to your Application Server. In addition we have a SQL Reports Server which contains the all the layout of the Reports i.e. your .rdl files along with the Database configuration. The Application Server can communicate to your Database using ADO.NET (which is normally used by .NET Developers) And Your Application Server will invoke your Reports via web service (provided by SQL Reporting Services).
Creating Reports
You can create reports as shown below:-
4. You can see three options Data, Layout and Preview. In the Data option define the Dataset
5. Select the Sever and the Data Base and Test Connection.
6. Insert the Query or Stored Procedure and Select the Command Type from the Drop Down.
8. Select the Layout Option and you can see the different Field which is been returned by the Query / Stored Procedure.
10. Drag and Drop a Table on the Report and select 2 3 Columns and right click. Select Merge Cells.
12. Drag and Drop the Field on the Table in the report.
13. Go to the Preview Option and can see the reports preview ( how the report will look when called from the application.
14. You can save you reports in different formats. Select the format by clicking Save Icon.
15. For Example if you select PDF format the report, will be save in .pdf as shown.
16. For Example if you select EXCEL format, the report will be save in .xls as shown.