如何检查gridview中的复选框是否已选中? [英] How to check if the checkbox in gridview is checked or not?
本文介绍了如何检查gridview中的复选框是否已选中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想在检查网格视图中的复选框时执行一些任务...
怎么做?
帮我一个代码片段...
I want to perform some task when checkbox in grid view is checked...
How to do that??
Help me with a code snippet...
推荐答案
请参考以下链接
http://www.aspsnippets.com/Articles/Validate-GridView-with-CheckBox -at-least-one-checked-using-JavaScript-in-ASPNet.aspx [ ^ ]
please refer below link
http://www.aspsnippets.com/Articles/Validate-GridView-with-CheckBox-at-least-one-checked-using-JavaScript-in-ASPNet.aspx[^]
使用CheckBox
OnCheckedChanged
事件。
参考答案 - gridview复选框选中时如何触发事件 [ ^ ]
请参考下面的链接,它会对你有所帮助。
http://www.aspsnippets.com/Articles/Validate-GridView-with-CheckBox-at-least-one-checked- using-JavaScript-in-ASPNet.aspx [ ^ ]
Please refer the link below, it will help you.
http://www.aspsnippets.com/Articles/Validate-GridView-with-CheckBox-at-least-one-checked-using-JavaScript-in-ASPNet.aspx[^]
这篇关于如何检查gridview中的复选框是否已选中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文