2012-12-16 133 views
0

如何在stimulsoft中对复选框进行更改检查?如何在stimulsoft中使用复选框

Stimulsoft.Report.Components.StiCheckBox CheckBox1 = stiReport1.GetComponents()["CheckBox1"] as Stimulsoft.Report.Components.StiCheckBox; 
      if (CheckBox1.CheckedValue == null || ((bool)CheckBox1.CheckedValue) == false) 
      { 
       CheckBox1.CheckedValue = true; 

      } 

else CheckBox1.CheckedValue = false; 
Invalidate(); 

该复选框不起作用,无法检查。我需要设置除“可编辑”之外的其他任何内容; 谢谢。

回答

0

这样您就可以更改报告模板中的复选框值。 如果您需要更改渲染报告中的复选框值,您应该以其他方式执行此操作。 描述你的问题更详细给你更准确的答案。

相关问题