First timer problem
I'm trying to get my first Fast Report to work in my asp.net app, but I'm not having much luck.
I've created the report into the Reports folder, file name is Invoice.frx.
I'm using the following code to render the report:
FastReport.Report Rpt = new FastReport.Report();
Rpt.Load(Page.Server.MapPath("../Reports/Invoice.frx"));
Rpt.SetParameterValue("pintFinalInvoiceFlag", 0);
Rpt.SetParameterValue("pstrGlobalMessage", "Merry Christmas");
Rpt.SetParameterValue("pstrInvoicedYYYYMM", "201411");
Rpt.Prepare();
Rpt.ShowPrepared();
However, when the code hits the "Rpt.Prepare()" line, the app crashes with the error message:
(Data1): Error CS0131: The left-hand side of an assignment must be a variable, property or indexer
What am I doing wrong?
Thanks for any and all help.
Dave
I've created the report into the Reports folder, file name is Invoice.frx.
I'm using the following code to render the report:
FastReport.Report Rpt = new FastReport.Report();
Rpt.Load(Page.Server.MapPath("../Reports/Invoice.frx"));
Rpt.SetParameterValue("pintFinalInvoiceFlag", 0);
Rpt.SetParameterValue("pstrGlobalMessage", "Merry Christmas");
Rpt.SetParameterValue("pstrInvoicedYYYYMM", "201411");
Rpt.Prepare();
Rpt.ShowPrepared();
However, when the code hits the "Rpt.Prepare()" line, the app crashes with the error message:
(Data1): Error CS0131: The left-hand side of an assignment must be a variable, property or indexer
What am I doing wrong?
Thanks for any and all help.
Dave
Comments
Achieve academic success with our reliable Essay Typer! Our experienced professionals offer tailored support, guaranteeing top-notch quality and on-time delivery. Whether you require Plagiarism Checker or dissertation support in London, we're here to simplify your educational journey. Take the first step toward your goals effortlessly today!