Crystal reports ,您请求的报告需要更多信息,使用 ODBC DSN 登录

发布于 2024-08-17 08:03:17 字数 120 浏览 1 评论 0原文

该报告在 Visual Studio 2005 中运行良好,但在 IIS 上部署时失败。它提示,您请求的报告需要更多信息。我认为它需要安装一些 SQL Server 客户端或 Crystal Reports 的服务包。请建议。

The report is runnig fine in Visual Studio 2005 but fails when I deploy it on IIS. It prompts, the report you requested requires further information. I think it needs to get installed some service pack either of SQL server client, or of Crystal Reports. Please suggest.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

梦毁影碎の 2024-08-24 08:03:17

您可以在运行时通过代码设置报告的数据源,这样您的报告就不需要连接到数据库。

CrystalReport1 report = new CrystalReport1();
DataTable dt = new DataTable();
report.SetDataSource(dt);
crystalReportViewer1.ReportSource = report;
crystalReportViewer1.Refresh();

You can set data source of your report by code at run time so your report don't need to connect to database.

CrystalReport1 report = new CrystalReport1();
DataTable dt = new DataTable();
report.SetDataSource(dt);
crystalReportViewer1.ReportSource = report;
crystalReportViewer1.Refresh();
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文