- Home
- Forum
- ASP.NET MVC
- 71/5000 How to create a report with a data source coming from the MVC controller
Bold Reports offers a comprehensive suite of tools and features for all your reporting needs, and we will help you make a smooth transition from the discontinued control. Our support team at https://support.boldreports.com/ is here to assist you with any questions or difficulties you may encounter during the migration process.
We thank you for choosing Syncfusion� and appreciate your understanding.
71/5000 How to create a report with a data source coming from the MVC controller
I would like to create a report in which the data source will be a list of an object coming from the controller method.
For example, I want to create a customer report for a particular vendor.
So, I have the following method in the controller:
List <Customer> GetCustomers (int vendorId)
{
List<Customer> list = new List<Customer>();
...
return list;
}
Could you help me to carry out this development?
Thank you!
Junior
|
public void OnReportLoaded(ReportViewerOptions reportOption)
{
reportOption.ReportModel.DataSources.Clear();
reportOption.ReportModel.DataSources.Add(new ReportDataSource { Name = "Sales", Value = SalesDetails.GetData() });
} |
The last question I wrote in Portuguese.
The correct one would be: How was the "remote" dataset created for this rdlc file?
Hi Yuvaraj,
Actually, it's difficult for me to understand how to build a new RDL / RDLC file.
In the example you sent me, the class object is developed in a desktop application and my application is web (ASP.NET MVC).
In the video, I see that the report designer connects to the project. How do I do this?
My report designer is different from the one used in the video.
Attached is the image of my report designer.
Regards,
Junior
Attachment: reportDesigner_d9275035.rar
Ok, Vinoth!
Can you send me the link for me to download the standalone report designer application?
Thank you very much!
Junior
Hi, Yuvaraj!
I would like to download the "Syncfusion Essential Report Designer" software.
Is there a link for me to download it?
Thank you!
Junior
Hi, Yuvaraj!
I
would like to have the same version of "Syncfusion Essential Report
Designer" that you use in the video you sent me to create the report
using class objects.
Only that.
Thank you!
Junior
Hi, Yuvaraj!
Unfortunately, I am not able to understand how to create rdlc reports.
I just wanted software to create rdlc reports. I do not know how to use the project you sent me in link to build new rdlc reports.
When I try to create by visual studio, the Report Wizard template does not appear for me to create a new rdlc report.
Can you send me the software that is used in the video you sent me so I can create rdlc reports?
Thank you!
Junior
https://www.syncfusion.com/account/login?ReturnUrl=%2fsupport%2fdirecttrac%2fincidents
Regards,
Hi Yuvaraj,
My problem has been solved.Thank you very much!
Regards,
Junior
- 20 Replies
- 5 Participants
-
CJ Carlos Junior
- Jul 20, 2017 02:31 PM UTC
- Aug 22, 2018 11:33 AM UTC