Crystal Report动态登录 [英] Crystal Report dynamic logon

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

问题描述







在我的项目中,我正在加载水晶报告并根据以下代码设置数据库登录信息< br $>


http ://csharp.net-informations.com/crystal-reports/csharp-crystal-reports-dynamic-login.htm [ ^ ]



但是,在我的情况下,密码不是动态接受所以当报告打开时它要求输入密码。

Hi,


In my project, i am loading crystal report and setting the database login information as per the below code

http://csharp.net-informations.com/crystal-reports/csharp-crystal-reports-dynamic-login.htm[^]

But, in my case, the password is not accepting dynamically so when the report opens it asks for the password.

推荐答案





以上问题解决了。问题出在Connection字符串中。我做了什么是我在userid = sa之后给出了一个空格所以当我使用=符号分割时它就像空格sa那样水晶报告提示输入用户名和密码
Hi,

Above problem is solved. The problem is in Connection string. what i done is i given a space after userid = sa so when i split using = symbol it came as space sa so the crystal report prompt for userid and password


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

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