我可以根据网格视图中下拉列表中选择的月份,在网格视图中获得学生每月出勤吗? [英] Ho Can I Get Monthly Attendance Of A Student In Grid View Based On Month Selected In Drop Down List In That Grid View?

查看:82
本文介绍了我可以根据网格视图中下拉列表中选择的月份,在网格视图中获得学生每月出勤吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在gridview中显示学生的每月出勤率,就像在gridview中一样,列一个下拉列表将在那里。在那个列表中我添加了所有月份。每当我选择一个月,我需要在同一个网格视图中的文本框中的特定月份出勤率,我放置在该下拉列表旁边。我需要建议这样做,包括db.please帮助我。

i'm trying to display monthly attendance of a student in gridview,like in the gridview along with columns one dropdown list will be there. in that list i added all the months. whenever i select a month i need that particular month attendance in the text box in that same gridview which i placed next to that drop drop . i need suggestions to do this,including db.please help me in that.

推荐答案

首先,你必须做一个动态枢轴来获得必要的输出。在开始之前,你必须通过下面提到的文章了解有关Pivot的基本知识。



Link1

Link2



现在,请检查此链接。在这里你必须通过startdate和enddate。因此它是动态的。

使用数据透视表显示日期出勤率



谢谢
First , You have to make a Dynamic Pivot to get required out put .Before start, you must go through below mentioned articles for basic knowledge about Pivot .

Link1
Link2

Now , check this link . Here you have to pass startdate and enddate. Hence it is dynamic .
Display the attendance in datewise using pivot table

thanks


这篇关于我可以根据网格视图中下拉列表中选择的月份,在网格视图中获得学生每月出勤吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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