如何动态更改crystal report数据库连接 [英] How to dynamically change crystal report database connection
问题描述
我是水晶报道的新手。我尝试使用报告向导visual studio 2012在我的win form c#应用程序中实现水晶报告,所以不知道反手发生了什么。一切都在我的计算机上运行良好,但当我尝试在另一台计算机上安装此连接字符串更改并给出错误。
我尝试了许多链接,例如动态连接字符串更改,但因为我使用报告向导进行设置,所以不知道在哪里使用它。
我也是尝试了连接字符串的报告向导中的所有选项,但是在运行时没有找到任何更改连接字符串的选项。
我有什么选项可以`连接连接来自应用程序配置的字符串在运行时`。
[1]:
I am new with crystal reports. I tried to to implement the crystal report in my win form c# application using report wizard visual studio 2012, so don't know what happen's in backhand for this. Everything works good on my computer but when i tried install this on another computer connection string changes and gives error.
I tried many links like Dynamic Connection string Change but as i am using report wizard for setup so don't know where to use this.
I also tried all options in report wizard for connection string but didn't find anything that change connection string at run time.
Is there any options by which i can `attach connection String from app config at run time`.
[1]:
推荐答案
在这里你去< br $> b $ b
关于水晶报告连接字符串 [ ^ ]
Crystal Report Deployment不同的服务器名称 [ ^ ]
在Visual Studio 2005中运行时更改Crystal Report连接 [ ^ ]
Here you go
About crystal reports connection string[^]
Crystal Report Deployment different server name[^]
Change Crystal Report Connection at Runtime in Visual studio 2005[^]
这篇关于如何动态更改crystal report数据库连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!