在Crystal Report 2008中动态更改列 [英] Dynamically changing columns in Crystal Report 2008

查看:200
本文介绍了在Crystal Report 2008中动态更改列的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的客户想要使用Crystal Report基本上将应用程序中的DataGridViews中的数据打印到纸张或PDF。 (有大约30个不同的DataGridViews)

My customer want to use Crystal Report to basically print data from DataGridViews in the application to paper or PDF. (there are approx. 30 different DataGridViews)

他们希望在Crystal Report视图中具有与源DataGridView和列宽等中显示的相同的列名称。也成正比。

They want to have the same column names in the Crystal Report view as is show in the source DataGridView and column width etc. shall also be proportional.

我试过,如果我可以动态创建水晶报表,并找到这篇文章。
http://aspalliance.com/661

I tried if I could create the Crystal Report dynamically and found this article. http://aspalliance.com/661

但是这种方法在新版本中不支持。 TextObject.Text是只读的。
有人知道是否可以动态或者简单地生成我的30个报告。

But this method does not seam to be supported in newer versions. TextObject.Text is readonly. Does anyone know if it is possible to generate my 30 reports dynamically or simiautomated.

推荐答案

只是从数据集生成pdf和旁路晶体在一起。我听到 iTextSharp 很不错。

It might be easier to just generate pdf from the dataset and bypass crystal all together. I hear iTextSharp is pretty good.

这篇关于在Crystal Report 2008中动态更改列的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆