Getting started with ASP. NET RDLC reports
These days to help colleagues to explain the ASP. NET RDLC report knowledge, by the way a simple tutorial, here to share to you.
Because the picture is large and big, half written, the light upload the picture I am tired of half dead, so I teach the process in their own set of GitHub pages blog.
Again here I only pick out a part to do a brief introduction, if it is helpful to you,
Go to my blog: Getting Started with the ASP. Net. RDLC Report
10. Data grouping
Effect
11. Adding parameters
Sometimes we want to display the content in the chart according to the parameters, and to do an example,
1) Adding parameters
2) Binding parameters,
Right-click on the y axis axis Title->axis Title Properties such as,
In Axis Title properties box Click FX->parameters->yaxis
3) then add the parameters in the background code,
var yalixrp = new ReportParameter ("Yalix", "energy value");
ReportViewer1.LocalReport.SetParameters (new[]
{
Yalixrp
});
Refresh page:
Source (remove dependencies, compile error, but do not affect the reference)
Getting started with ASP. NET RDLC reports