Click here to Skip to main content
15,445,757 members
Please Sign up or sign in to vote.
1.27/5 (4 votes)

Can one please tell me what's the difference between an .rdl and an .rdlc in Reporting.Also,I have a scenario,the scenario is like this:

I am doing School management application,which is a windows application purely.In this app i have a button in form ,on click of this i should generate a report dynamically ,connect to dataset and pick the data and finally i should be able to render report .How to do this,

Please help me.

Thanks in Advance.

Chaithanya M
Updated 12-Oct-17 23:35pm
Sergey Alexandrovich Kryukov 23-May-11 10:25am     CRLF
I would advise you to stop using the format "What is the difference between {0} and {1}?". What's the difference between apple and Apple. Any possible answer could be considered incorrect. Ask what do you know to learn about two or more items, exactly. --SA

What is the difference?
RDL files are created by the SQL Server 2005 version of Report Designer. RDLC files are created by the Visual Studio 2005 version of Report Designer.
RDL and RDLC formats have the same XML schema. However, in RDLC files, some values (such as query text) are allowed to be empty, which means that they are not immediately ready to be published to a Report Server. The missing values can be entered by opening the RDLC file using the SQL Server 2005 version of Report Designer. (You have to rename .rdlc to .rdl first.)
RDL files are fully compatible with the ReportViewer control runtime. However, RDL files do not contain some information that the design-time of the ReportViewer control depends on for automatically generating data-binding code. By manually binding data, RDL files can be used in the ReportViewer control.
Note that the ReportViewer control does not contain any logic for connecting to databases or executing queries. By separating out such logic, the ReportViewer has been made compatible with all data sources, including non-database data sources. However this means that when an RDL file is used by the ReportViewer control, the SQL related information in the RDL file is simply ignored by the control. It is the host application's responsibility to connect to databases, execute queries and supply data to the ReportViewer control in the form of ADO.NET DataTables.


How to do that?[^]

You can google[^] for more information.
Share this answer
Hope this[^] might help you.
Share this answer
M.CHAITHANYA 23-May-11 6:19am     CRLF
Hi Ramalinga Koushik, Can you please tell me how to create a report dynamically and show it through Report Viewer to the end user. Regards Chaithanya M

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