如何在c#中自定义DatagridView(How to customize DatagridView in c#)
在datagridview中,当我们需要显示值时,它将显示如下所示。
用户1
用户2
用户3
现在我的要求是,我说只有一列和大约100个数据。 我想显示如下。
用户1用户4用户7
用户2用户5用户8
用户3用户6用户9
在c#中是否可以这样做?
In datagridview, when we need to show value than it will display as below.
User 1
User 2
User 3
Now my requirement is that, say i have only single column and about 100 data. I want to display as below.
User 1 User 4 User 7
User 2 User 5 User 8
User 3 User 6 User 9
Is it possible to this in c#.?
最满意答案
我能够创建包含多个列的新数据表。
请参阅此链接: Datagrid:将单列拆分为多个
感谢GaryTexmo
I am able to create my new datatable with several columns.
Refer this link : Datagrid: Break single column to multiple
Thanks to GaryTexmo
更多推荐
发布评论