分组在ASP.Net的GridView控件 [英] Grouping in GridView of ASP.Net

查看:148
本文介绍了分组在ASP.Net的GridView控件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我显示在一个类slno,rollno,学生马克列一个asp.net的GridView。我想组学生,每组由5名学生,其中它们之间的分隔符一行。帮我找一个妥善的解决办法。

I have an asp.net GridView in which I am showing columns of slno, rollno, mark of students in a class. I want to group the students, each group consisting of 5 students in which a separator row between them. Help me to find a proper solution.

推荐答案

尝试使用嵌套的gridview的这一点。首先GridView控件将获得团放大器;孩子的GridView会得到5个学生的每一行。

Try using a nested gridview for this. First gridview would get the group & child gridview would get 5 students for each row.

这篇关于分组在ASP.Net的GridView控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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