怎么给水晶报表里面的textObject赋值,并且在什么地方赋值才有效
myReport ReportDoc = new myReport();
for (int i = 0; i < ReportDoc .ReportDefinition.ReportObjects.Count; i++)
{
try
{
TextObject tobj = (TextObject)ReportDoc .ReportDefinition.ReportObjects[i];
//FieldObject
tobj.Text = Model.GetMessage(tobj.Text);
}
catch
{
continue;
}
}
值是修改了,但就是显示不出来,求高手解决
------解决方案--------------------
都没人,解决什么的啊