0
我想为报表上的脚本部分添加时间这样只在活动报告的ReportInfo字段中添加时间值?
using GrapeCity.ActiveReports;
public string OutputFormat {get; set;}
public void PageHeader_Format()
{
this.ReportInfoTime.OutputFormat = "hh:mm tt";
this.ReportInfoTime.Value = System.DateTime.Today;
}
但我发现了这个错误
'GrapeCity.ActiveReports.SectionReportModel.ReportInfo' does not contain a definition for 'OutputFormat' and no extension method 'OutputFormat' accepting a first argument of type 'GrapeCity.ActiveReports.SectionReportModel.ReportInfo' could be found (are you missing a using directive or an assembly reference?)
任何意见。