的ReportViewer [英] reportviewer

查看:69
本文介绍了的ReportViewer的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello guys,

我正在使用报告查看器来显示来自GPS设备的信息。当ingnition为0时,车辆停止,我必须在该记录旁边创建一条显示行程时间和距离的线。之后点火为1并开始新的行程然后结束以显示行程时间和距离。

是否可以通过分组?

数据应该如下所示:

PID日期位置Igniotion
1 23-09-09牛津大学
1 23-09-09牛津大学1月23-09-09牛津大学1月23-09-09牛津大学

旅程时间:10:15距离:2英里:10m / p


1 23-09-09牛津大学1月23-09-09牛津大学

行程时间:10:15距离:2英里10m / p

1 23-09-09牛津大学1月23-09-09牛津大学1月23-09-09牛津大学1月23-09-09牛津大学

行程时间:10:15距离:2英里车速:10m / p



希望我提出我的观点

问候
Imran

决方案
我不知道什么是分组或如何使用它,但我知道我会做什么 - KISS(保持简单愚蠢),因为我不是在吊灯的灯泡亮!

我会为所有这些行创建一个数据(包含 PID日期位置Igniotion 的列,然后甚至每一行-liners可以作为另一行添加到数据表中 - 事实上,单行不会真正具有"列"列。 (尽可能将这些数据放入原始列中)但输出应该非常易读。

总之,只需继续将所有行添加到数据表中 - 但我很惊讶您会使用ReportViewer,因为它更适合打印而不是屏幕显示。结果

Hello guys,

   I am using report viewer to display information coming from the GPS device. When the ingnition is 0, the vehicle is stopped and I have to create a line next to this record displaying the trip time and distance. After that ignition is 1 and it starts the new journey and then ends to display the trip time and distance.

is it possible through the grouping??

The data should be presented like as follows:

PID   Date        Location    Igniotion
1      23-09-09   oxford         on
1      23-09-09   oxford         on
1      23-09-09   oxford         on
1      23-09-09   oxford         off

Journey time: 10:15  Distance: 2 miles   Speed: 10m/p


1      23-09-09   oxford         on
1      23-09-09   oxford         off

Journey time: 10:15  Distance: 2 miles   Speed: 10m/p

1      23-09-09   oxford         on
1      23-09-09   oxford         on
1      23-09-09   oxford         on
1      23-09-09   oxford         off

Journey time: 10:15  Distance: 2 miles   Speed: 10m/p





Hope I made my point

Regards
Imran

解决方案

I don't know what grouping is or how to use it but I know what I would do - KISS (keep it simple stupid) since I'm not the brightest bulb in the chandelier! 

I would create a datable for all those rows  (with columns for PID   Date        Location    Igniotion)  and then even each of the one-liners can be added as another row to the datatable - true the one-liners won't really have "columns" (just fit this data into the original columns as best you can) but the output should be very readable.

In sum, just keep adding all the rows to the datatable - but I'm surprised you would use ReportViewer since it is more designed for printing than for onscreen displays.


这篇关于的ReportViewer的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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