Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
149911 | Dec 13,2019 04:10 PM UTC | Dec 30,2019 06:45 AM UTC | ASP.NET Core | 7 |
![]() |
Tags: ReportViewer |
<bold-report-viewer id="viewer" report-service-url="/api/ReportViewer" dataSources="ViewBag.dataSources" processing-mode="Local" ></bold-report-viewer>
|
public IActionResult Index()
{
ReportDataSource reportDataSource = new ReportDataSource();
reportDataSource.Name = "StoreSales";
reportDataSource.Value = StoreSales.GetData();
ViewBag.dataSources = new List<ReportDataSource> { reportDataSource };
return View();
} |
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.