保留复选框的状态 [英] Retaining the state of checked box
本文介绍了保留复选框的状态的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在GridView控件中进行分页期间保持复选框的选中状态.
我正在页面索引中绑定网格.
我试图通过在google中搜索解决方案.
给定的代码不起作用,它引发广播错误
从复选框类型转换为布尔值"..
有什么解决方案可以在分页期间保留复选框的值.
谢谢,
yashoda
How to maintain the checked state of a check box during Paging in a GridView Control.
I am binding the grid in page indexing.
I tried for a solution by searching in google.
The given code is not working, it throws "casting error
in conversion from checkbox type to bool".
Is there any solution for retaining the checkbox values during paging.
Thankyou,
yashoda
推荐答案
Marcus Kramer的评论几乎可以肯定正确的答案!使用它.
Marcus Kramer''s comment is almost sure the correct answer! Use it.
这篇关于保留复选框的状态的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文