Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
嗨,我正在从数据库中获取数据并使用水晶报表的参数,我从 asp.net 文本框中发布参数并在水晶报表中接收,它工作正常并且报表生成完美,但是当我打印它时,只有那个记录打印出来,这是非 db基于,动态记录不打印,请帮忙....
我自己解决了这个问题,为那些将使用 SAP Crystal Reports for Visual Studio 2010 的人发布了一个答案。
asp表单生成水晶报表时,使用参数生成报表,打印时页面刷新,刷新时浪费post的参数。所以空参数被传递给它,这就是为什么基于数据库的行将为空,解决方案是使用查询字符串,或者将发布变量保存在会话中并在页面加载时选择它们。
:)
谢谢