VB net创建报表而没有数据源 [英] VB net Create report WITHOUT data source

查看:97
本文介绍了VB net创建报表而没有数据源的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好.

我正在Visual Basic 2008中进行编程.我需要制作一个报表,其中包含标题,正文和脚部,以及带有数据的图形和矩阵(不包含数据库表).

挑战在于如何在不使用数据源的情况下制作报告.数据由我的应用程序的内部计算过程提供.:confused:

我之所以不能这样做,是因为rdlc报告和crystal报告总是向我询问数据源,但是我没有任何信息,因为实际数据源是我自己的应用程序中的一个过程,而不是数据库或类似的东西. X |

你可以帮帮我吗?预先谢谢您.

Hello.

I''m programming in Visual Basic 2008. I need to make a report, with its header, body and foot, and with graphics and matrix with data (NOT data base tables).

The challenge, is to make a report WITHOUT using data source. The data, are provided by an insternal calculation proccess from my application.:confused:

Ican''t do it, because rdlc reports and crystal reports ask me ALWAYS for a data source, but I don''t have any, because de real data source is a process from my own application, NOT a data base or similar. X|

Could you help me? Thank you in advance.

推荐答案

使用Crystal报表,但是数据源将是您传递给它的数据集.

看看这个示例 [
use Crystal reports but the data source would be a dataset that you pass to it.

have a look at this example[^]


使用GDI +自己设计报表,然后您可以使用它来做自己喜欢的事情.使用PrintDocument进行打印,将其另存为Word Document或PDF或其他任何格式.您确实不必使用第三方工具. .Net拥有您所需的一切:-D
Design the report yourself using GDI+, and then you can do what you like with it. Print it using PrintDocument, Save it as Word Document or PDF or anything. You really don''t have to use third party tools. .Net has everything you need :-D


这篇关于VB net创建报表而没有数据源的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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