问题描述
我有一个带有复选框的gridview,它包含很多数据,因此我为gridview应用了分页并每页显示10条记录.在gridview中应用分页后,如果我选择第一页中的复选框,然后移至另一页并选择第二页中的某些复选框,之后,如果我单击保存按钮,则只有第一页选定的值,而没有所有选定的值(其他页面已选择值).
我已经搜索了很多解决方案,但是每个解决方案都只能给我一个页面价值.
我需要在aspx页面的保存按钮上选择所有选定的gridview值.
请帮助我.
I have one gridview with checkboxes and it contains lot of data for that reason I applied paging for gridview and displaying 10 records per page. After apply the paging in gridview if I select checkboxes in first page and moving to another page and select some checkboxes in second page after that if I am click on save button, i have got only first page selected value, not got the all selected values(other pages selected values).
I have googled and got many solution but every solution give me only one page value.
i have require all selected gridview value on save button of aspx page.
please help me .
推荐答案
这篇关于在GridView控件中分页时维护复选框的状态的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!