在RDLC文本框中只显示第一条记录。它没有显示DataSet的其他行! [英] In RDLC textbox only shows 1st record.it did not display other Rows of the DataSet !

查看:187
本文介绍了在RDLC文本框中只显示第一条记录。它没有显示DataSet的其他行!的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的RDLC报告中,我使用文本框显示报告的某些值。但它只显示文本框中的第一个记录数据。是否有任何机制来显示文本框中的所有行数据。



实际上我想打印Invoice并且它有一些信息应显示所有数据库行,例如



描述,单位,单位价值,总计



笔2 2.50 5

铅笔5 1.50 7.50



RDLC表达式是



=字段!description.Value





在RDLC文本框中仅显示第1条记录。所以我想得到perticuler数据库的所有行,而不使用Matrix或Tablic.is它可能吗?在此先感谢!!!

in my RDLC report i use text boxes for Display certain values of the report.but it only Display 1st record data in the Textbox.Is there any machanism to display all the row data in a Textbox.

actually i want to print Invoice and it has certain informations which should display all the database rows such as

Description , units , unit value , Total

pens 2 2.50 5
pencils 5 1.50 7.50

RDLC Expression is

=Fields!description.Value


In RDLC textbox only shown 1st record. so i want to get all the Rows of the perticuler database with out using Matrix or Tablic.is it possible?Thanks in Advance!!!

推荐答案





我猜你已经拥有了DataSet。通过IDE中的报告数据窗口可以看到它。



现在从工具箱中添加一个''表''。它将显示默认行,您可以在其中拖放所需的字段。添加更多列,有条件地隐藏,有条件地更改前景色/背景色等等。您可以自定义它。



该表将显示您数据的所有记录设置,同时为您提供引入摘要,组标题,子总计行以及更多内容的附加选项。
Hi,

I Guess you already have the DataSet with you. It is visible thru ''report Data'' window in the IDE.

Now from the toolbox, add a ''Table''. It will show you the default row, where you can simply drag drop the fields that you want. Add more columns, hide conditionally, change fore colors / back colors conditionally etc.. you can customize it a lot.

The table will present all the records of your data set, along with giving you additional option of introducing summary, group headers, sub totals rows and lot more.


这篇关于在RDLC文本框中只显示第一条记录。它没有显示DataSet的其他行!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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