FastReport icon indicating copy to clipboard operation
FastReport copied to clipboard

Duōyú de; hào 5/5000 Redundant; No.

Open Snuger opened this issue 6 years ago • 3 comments

image

Snuger avatar Nov 20 '20 09:11 Snuger

Hi! Can you provide problem project or at least frx file of this report? In case of using any data sources in report please save data in report (StoreData = true) if possible. Best regards, Vitalii.

VitaliyRud2001 avatar Nov 20 '20 14:11 VitaliyRud2001

jixiaotj-tongyong-gongzuoliangzb-debug.txt

' [HttpGet("all")] public async Task GetGongZuoLTJAsync([FromQuery] QueryZhuZhiReportParameter reportParameter) { string reportFile = Path.Combine(JiXiaoTJReportConstant.CONST_REPORT_FRX_ROOT, $"jixiaotj-tongyong-{reportParameter.ReportName.ToLower().ToString()}-debug.frx"); if (string.IsNullOrWhiteSpace(reportParameter.ReportName)) return BadRequest($"report {reportParameter.ReportName}-notfound"); if (!System.IO.File.Exists(reportFile)) return BadRequest($"{reportFile},notfound"); DataSet dataSet = await _kaiFaRYTJService.GetGongZuoLTJAsync(reportParameter); WebReport WebReport = new WebReport(); WebReport.Report.Load(reportFile); WebReport.Report.RegisterData(dataSet, "Reports"); ViewBag.WebReport = WebReport; return View("Report"); } '

Snuger avatar Nov 21 '20 05:11 Snuger

sorry I wrote an I was not careful, extra ";" symbol on my own page

Snuger avatar Nov 21 '20 14:11 Snuger