Click here to Skip to main content
15,885,546 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I am showing record in grid(contain checkbox as first column) that has paging.If I select record in page one and move to second page selected record from first get unchecked.Shall I make enable viewstate?What will happen?Can I able to fetch all record(id) which are selected from all pages of grid at a time in button click event?

C#
foreach (GridViewRow rowItem in Gridview1.Rows)
{
}
Posted
Updated 24-Sep-15 2:05am
v2

1 solution

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900