VS2008 c#crystal报告登录popsup为什么? [英] VS2008 c# crystal report login popsup why?

查看:101
本文介绍了VS2008 c#crystal报告登录popsup为什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好我只是尝试使用C#,OLE DB(ADO)在visual studio 2008中制作水晶报表,并且连接成功完成。但每当我开始运行应用程序时,它会要求登录USER NAME和PASSWORD,但我的数据库不受任何密码的保护,这是我在CrystalViewer中查看的代码片段



hi i just try to make a crystal report in visual studio 2008 using C#, OLE DB(ADO) and the connection was successfully made. but every time when i start to run the application it asks for a login USER NAME and PASSWORD but my database is not secured with any password here is my pies of code to view in CrystalViewer

ReportDocument cryRpt = new ReportDocument();
            cryRpt.Load("CrystalReport1.rpt");
            crystalReportViewer1.ReportSource = cryRpt;
            crystalReportViewer1.Refresh();





提前谢谢

zakirox123



thank you in advance
zakirox123

推荐答案

打开你的水晶报告。

数据库连接。

你找到一个IntegratedSecurity复选框。

在其中加上一个标记。

并尝试。还要

如果你硬编码连接字符串然后把

Integrated Security = True
open your crystal report.
database connection.
you find a IntegratedSecurity checkbox.
put a tik mark in it.
and try. also
if you hard code the connection string then put
"Integrated Security=True"


打开你的水晶报告。 />
数据库连接。

你找到一个IntegratedSecurity复选框。

在其中加上一个tik标记。

并尝试。还要

如果你硬编码连接字符串然后把

Integrated Security = True
open your crystal report.
database connection.
you find a IntegratedSecurity checkbox.
put a tik mark in it.
and try. also
if you hard code the connection string then put
Integrated Security=True


这篇关于VS2008 c#crystal报告登录popsup为什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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