使用c#VS2005在运行时将字段添加到水晶报表中 [英] Adding fields dinamically in runtime to a crystal report using c# VS2005

查看:42
本文介绍了使用c#VS2005在运行时将字段添加到水晶报表中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好

我有一个包含五个固定字段的水晶报告。

I have a crystal report with five fixed fields.

根据用户信息,我需要添加一些其他字段在运行时。

Depending on user information I need to add some other fields in runtime.

我正在使用visual studio 2005 c#,报告的数据源是一个数据集。

I'm using visual studio 2005 c# and the datasource for the report is a dataset.

谢谢

推荐答案

VS的VS没有这种能力。您必须升级到完整版才能获得允许添加字段和其他对象的RAS。

CR for VS does not have that ability. You must upgrade to a full version to get RAS which allows you to add fields and other objects.

一个解决方法是添加所有字段并删除运行时不需要的字段。使用文本对象是另一种解决方法,用字段引用替换文本。

One work around is to add all of your fields and remove the ones not required at runtime. Using Text Objects is another work around, replace the text with field references.

Don


这篇关于使用c#VS2005在运行时将字段添加到水晶报表中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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