asp.net中的静态Rdlc报告 [英] Static Rdlc reporting in asp.net

查看:70
本文介绍了asp.net中的静态Rdlc报告的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好长时间在网上搜索后,仍然无法使用asp.net中的rdlc。这是我第一次使用rdlc.so我有很多关于此的问题。在Web中,人们使用数据库连接来填充报表。有些使用对象数据源。所以我的问题是:



是否可以生成静态报告。是否可以使用文本框/标签来说明硬编码报告?

然后在创建静态报告之后,我们可以在一些按钮点击事件上填写这些值,如下所示:textbox1.text ="你的名字"



实际上我不想使用绑定我还可以根据需要提交报告样本。请指导我关于rdlc工作等。谢谢

Hi after long search on web,still i am unable to work with rdlc in asp.net. this is my first time working with rdlc.so i am having alot of issues regarding this. In web people are using db connections to populate reports.and some using object data sources. So my question is:

Is it possible to generate a static report.Means to say hardcoded report using textboxes/labels?
and then after creating static report,we could fill those values on some button click event like this: textbox1.text="Your name"

Actually i dont want to use bindings etc. i can also put the sample of my report,if required. Kindly guide my about rdlc working,etc. Thanks

推荐答案

你的情况很奇怪,但你有几个选择



1.保存这个操纵数据返回给你db并从中生成你的报告。



2.取这个操纵数据并在内存中创建一些对象来保存它。您可以使用数据表数据集,甚至客户对象。然后使用所述对象作为报告的数据源。
Your situation is odd, but you have a few options

1.Save this "manipulated" data back to you db and generate your report from that.

2.Take this "manipulated" data and create some object in memory to hold it. You can use a datatable a dataset, or even a customer object. Then use said object as the datasource for your report.


这篇关于asp.net中的静态Rdlc报告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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