如何在VB.NET 2010中在运行时更改Crystal报表与数据集的连接 [英] How do I change Crystal report connection with dataset at runtime in VB.NET 2010

查看:68
本文介绍了如何在VB.NET 2010中在运行时更改Crystal报表与数据集的连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

HI那里

我一直试图用水晶报告连接我的数据,

最后我可以用静态连接 例如D:\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\但是当我在另一台PC上运行此报告时。路径不匹配,报告无法找到数据库文件路径



那么,如何在运行时更改数据库路径。我很快就需要这个,我的学校项目提交日期非常接近。任何帮助将不胜感激

HI there
I have been trying to connection my data with crystal report,
Finally I can do it with static connection e.g. D:\study\VB.Net\School Management\data\db.mdb this is my database connectin. BUT when I run this report on another PC. path have been mismatched, report could not find database file path

So, How can i change database path on run time. I need this on ASAP basis my school project submission date is very close. any help will be appreciated

推荐答案

尝试这些解决方案在运行时更改Crystal Report的连接属性 [ ^ ]

更改Crystal Report连接 [ ^ ]

如何在.Net中更改Crystal Report连接 [ ^ ]
Try these solutions Change Connection Properties of Crystal Report During Runtime[^]
Change Crystal Report Connection at Runtime in Visual studio 2005[^]
How to Change Crystal Report Connection in .Net[^]


这篇关于如何在VB.NET 2010中在运行时更改Crystal报表与数据集的连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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