水晶报告for循环 [英] crystal reports in for loop
本文介绍了水晶报告for循环的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
我想在for循环中创建报告:
Hi all,
I want to create reports in a for loop:
for (int j = 0; j < dt.Rows.Count; j++)
{
ds.WriteXml(Application.StartupPath + @"\reports\\aa.xml", XmlWriteMode.WriteSchema);
reportViewer reportViewerF = new reportViewer(Application.StartupPath + @"\reports\Kied_Yawmia.rpt");
reportViewerF.show(this.MdiParent);
}
问题在于所有报告与最终的xml文件都相同.
在此先感谢您.
The problem is that all reports were the same with the the final xml file.
Thanks in advance.
推荐答案
在循环结束时刷新对象
这篇关于水晶报告for循环的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文