如何将三个GridView合并为一个GridView? [英] How to merge three GridViews into one GridView?

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

问题描述

你好,

大家好,我只有3个GridView带有相同的前四列.我想通过水平滚动将它们合并或合并到一个GridView中,那么该怎么做呢?

解决方案

合并多个GridView?我认为您需要做很多工作.
您可以根据值合并单元格,请查看以下文章

如何在GridView中合并具有相等值的单元格 [组GridView数据 [ GroupedGridview-定制的GridView控件 [ 解决方案

Merging multiple GridViews? I think you need a lot work.
You can merge the cells based on values, check these articles

How to merge cells with equal values in a GridView[^]
Group GridView Data[^]
GroupedGridview - A Customized GridView Control[^]

I guess now your turn, go with these.


What are you aiming for by design? Could you abandon the three gridviews and read directly from your multiple datasources into the single grid view? If so then you could use SQL to join the data so that a single query will pull in the data for you


这篇关于如何将三个GridView合并为一个GridView?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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