我正在尝试为这样的脚本部分的报告添加时间
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?)
任何建议。