如何将GridView1_Cell_Click事件添加到WebControl [英] How to add GridView1_Cell_Click event to WebControl
本文介绍了如何将GridView1_Cell_Click事件添加到WebControl的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好
检查波纹管链接并建议我.
如何在我点击单元格 [ ^ ]
Hi to all
Check bellow link and suggest me.
How to find gridview cell value when i click on cell[^]
推荐答案
为什么您需要col索引和行索引
你需要他们来设置否吗?
如果它在图像按钮中本身,例如,gridview行comand中的dd commandargument = seat value"commandname =" image1"
像泰铢这样的东西
开关(e.commandargument)
案例"img1"
您的备用座位代码
休息;
如果我想念您的要求,请为我进一步解释
why u need col index & row index
do u need them to get set no
if that in the image button it self for example dd commandargument =seat value " commandname="image1" in the gridview row comand
somthing like taht
switch(e.commandargument)
case "img1"
your code for reserv seat
break;
if i miss understand your request just explain more for me
这篇关于如何将GridView1_Cell_Click事件添加到WebControl的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文