来自 Access 数据库的 Vb.Net 预览报告 [英] Vb.Net preview report from access database

查看:32
本文介绍了来自 Access 数据库的 Vb.Net 预览报告的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 Visual Studio 2010 来开发我的桌面应用程序和 ms access 数据库.我已经在访问数据库中设计了报告,并且它们运行良好.现在我担心的是,是否可以在我的 Vb.Net 应用程序中使用这些访问报告?

I am using visual studio 2010 to develop my desktop application and ms access database. I have already designed reports in access database and they are working perfectly. Now my concern is that is it possible to use these access reports in my Vb.Net application?

我需要这个,因为在我需要为 Crystal Reports 安装运行时机器的情况下,分发软件会更容易,而不是使用 Crystal Report.

I need this because it would be much easier to distribute the software instead of using crystal report where I will need to install a run time machine for crystal reports.

推荐答案

这是可能的,但这是一个可怕的实现.您基本上必须启动 Access,在 Access 中打开数据库文件,然后向下导航并启动报告.无法仅在您的应用程序内查看"报告.它只会显示在 Access 中.

It's possible to do but it's a horrible implementation. You basically have to launch Access, open the database file in Access, then navigate down and launch the report. There is no way to just "view" the report inside your app. It will only show inside Access.

我认为您最好的选择是使用 ReportViewer 控制您是否不想使用 Crystal Reports.

I think your best option is to use ReportViewer control if you don't want to use Crystal Reports.

这篇关于来自 Access 数据库的 Vb.Net 预览报告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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