我在WebForms ASP.Net 有一份Stimulsoft Reports的报告。
它有一个PageHeaderBand和一个DataBand。我想在运行时删除报表的页头带(当用户单击自定义按钮时)
请帮助我。
答案是:
StiReport report = ...;
StiComponent component = report.GetComponentByName("<CustomName>");
report.GetComponents().remove(component);