Pass parameter
I can't pass parameters in asp.net (visual studio 2012). I want to pass a text as report title but the result is empty!!!
This is my code:
(I have created a parameter(Name="Titr") in fastreport design and now I want to pass title to report)
string title="My report title";
path = Server.MapPath(@Perserviced.frx);
ListServices.Report.RegisterData(RS.FillDataset(sysinfo, listservice,view));
ListServices.Report.Load(path);
ListServices.Report.SetParameterValue("Titr", title);
ListServices.ReportDone = true;
ListServices.Report.Prepare();
This is my code:
(I have created a parameter(Name="Titr") in fastreport design and now I want to pass title to report)
string title="My report title";
path = Server.MapPath(@Perserviced.frx);
ListServices.Report.RegisterData(RS.FillDataset(sysinfo, listservice,view));
ListServices.Report.Load(path);
ListServices.Report.SetParameterValue("Titr", title);
ListServices.ReportDone = true;
ListServices.Report.Prepare();
Comments
No, I can't see only title .