在asp.net中单击gridview的单元格创建事件 [英] Creating event on cell click of gridview in asp.net

查看:155
本文介绍了在asp.net中单击gridview的单元格创建事件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我从不创建任何活动。但现在它的项目需要在网格视图的单元格点击上创建活动。

我正在创建考勤表。在数据库中,该表包含列std.AdmissionNo,std.Class,Std.shift,std.intime,std.outtime,std.attendancestatus,std.date。

当学生有实时和非工作时间时转移时间状态为p,否则为a。

我将状态与网格绑定。但是现在我想要当用户点击任何一个单元格弹出窗口打开时间和时间弹出时显示日期时间。但我无法获得gridview的单击事件。它是一个Web应用程序请帮助我谢谢

I never create any event.But now its a project demand to create event on cell click for grid view.
I am creating attendance sheet. In database the table contain column std.AdmissionNo,std.Class,Std.shift,std.intime,std.outtime,std.attendancestatus,std.date.
when student has intime and out time as shift time the status is p else it is a.
I bind the status with grid. but Now I want when user click any cell a popup open and intime and out time with date is show in pop up.but I not able to get the cellclick event of gridview .Its a web application Please Help me thanks

推荐答案

推荐此链接



带有单元格点击事件的扩展ASP.NET GridView [ ^ ]



在ASP.NET中编辑单个GridView单元格 [ ^ ]



单击GridView单元格中的事件 [ ^ ]



问候......:笑:
Refer this link

Extended ASP.NET GridView with cell click events[^]

Edit Individual GridView Cells in ASP.NET[^]

Click event in cell of a GridView[^]

Regards..:laugh:


这篇关于在asp.net中单击gridview的单元格创建事件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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