本文介绍了DatagridView +没有垂直ScrollBar的完整数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

在我的DatgridView控件"中,共有3列.

我必须以不应该使用垂直滚动条的方式显示数据.
如果行数更多,以致出现垂直滚动条,
在这种情况下,其余数据应在同一控件的右侧显示为单独的列",并带有相同的3个列标题

示例;
A1 B1 C1 A1 B1 C1
a b c d e f
a b c d e f
a b c d e f

其中A1,B1,C1是列标题.在第三行之后出现垂直滚动条.因此,数据d,e,f移至具有相同列标题A1,B1,C1的同一控件的右侧.

谢谢,
Lakshman

Hello,

In My DatgridView Control, there are 3 columns.

I have to display data in such a way that there should not be Vertical Scrollbar.
If Number of row is more such that the Vertical Scrollbar Appears,
in that case the remaining Data Should be displayed as Seperate Columns on the right side of same Control with same 3 column headers

Example;
A1 B1 C1 A1 B1 C1
a b c d e f
a b c d e f
a b c d e f

Where A1, B1, C1 are Column Headers. After 3rd Row Vertical Scrollbar Appears. So, data d, e, f Move to right Part of Same Control With Same Column Headers A1, B1, C1.

Thanks,
Lakshman

推荐答案


这篇关于DatagridView +没有垂直ScrollBar的完整数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-22 12:22
查看更多