rdlc表C#中的数据集显示问题 [英] dataset display issue in rdlc table c#

查看:567
本文介绍了rdlc表C#中的数据集显示问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我遇到的问题是我的数据集有多行结果,当我在表字段中显示该行时,我仅获得所有行中第一行的数据.这就是重叠行的一些方式.

I am getting the issue that my data set has got multiple rows as its result and when i am showing that in the table fields ,i get only the first row''s data in all the rows .i.e. that is some how over lapping rows.

can any one help me with this issue?

推荐答案

我只能获得所有行中第一行的数据.那就是重叠行的一些方式

它不重叠.听起来好像是在使用第一个元素进行显示,而不是在表中使用数据集的字段.

例如:
你一定在做...
First(SomeField.Value, "MyDataSet")First(SomeField.Value)

相反,您应该将数据集映射到表,并直接在列中使用SomeField.Value进行显示.
i get only the first row''s data in all the rows .i.e. that is some how over lapping rows

It''s not overlapping. It just sounds like instead of using the field of dataset in your table, you are using the first element for display.

For ex:
You must be doing...
First(SomeField.Value, "MyDataSet") OR First(SomeField.Value)

Instead, you should map the dataset to the table and use SomeField.Value directly in the column for display.


这篇关于rdlc表C#中的数据集显示问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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