Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to generate an RDLC file using C# during runtime

I'm doing some application development (CRM solution) which require generating diagrammatically an RDLC file at runtime. How do I do that?

like image 393
Pranay Rana Avatar asked Jul 30 '10 07:07

Pranay Rana


People also ask

What is Rdlc report in C#?

The RDLC stands for Report Definition Language Client side. Actually It is an extension of report file created by using Microsoft reporting technology. The SQL Server 2005 version of Report Designer is used to create these files. The ReportViewer control in client side can directly execute the RDLC reports.

How do you create a DataSet in Rdlc?

To create a dataset for the RDLC report, click Reporting under Visual C# Items. Click Report, and then click Add. The Report Wizard opens. Enter a dataset name in Name field.To choose a data source for the dataset, click New on the right of Data source drop-down combo box.


2 Answers

You can use 'Generate RDLC dynamically - Table' example from got reportviewer? page

like image 116
Giorgi Avatar answered Oct 23 '22 10:10

Giorgi


Thanks for the response from all who answered this question, but I found one good article to generate dynamic reports: Dynamic Reports with Reporting Services.

like image 2
Pranay Rana Avatar answered Oct 23 '22 08:10

Pranay Rana