使用C#对DataGridView进行分组 [英] Grouping DataGridView using C#

查看:869
本文介绍了使用C#对DataGridView进行分组的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人可以向我解释如何在C#中对DataGridView进行分组,因为我不知道这个主题吗?



我在网站上搜索但是我不知道什么都不懂





我有一个带有4列的DataGridView:项目名称,大小,日期,数量和我想组成一个组根据项目名称。那么我怎么能开始呢?



注意:我使用的是Windows Forms C#

Can anyone explain to me how make grouping for the DataGridView in C# because I have no idea about this topic ?

I searched on the websites but I don't understand anything


I have a DataGridView with 4 Columns: Item Name,size,Date,Quantity and I want to make a groups according to Item name. so how can I start that ??

Note: I am using Windows Forms C#

推荐答案

< a href =http://www.codeproject.com/search.aspx?q=DataGridView+group+data>这里 [ ^ ]你会找到你要找的东西。
Here[^] you'll find what you're looking for.


这篇关于使用C#对DataGridView进行分组的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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