how to bring the selected rows to top in gridview
Hi i am binding data to gridview first column to select the rows second column customer name third column item name so,..i am selecting some rows after select rows should come to top rows, how to bring the selected rows to top in gridview?

Aravind GovindarajPosted Nov 22, 2022, 2:30 PM
Please follow the below steps
1. You have to rebind it on Grid Row on the binding event
2. Take the selected (e args) and map it with the collection
3. Create a temp collection, and inserted the selected key item first, then add the result as a collection in a single shot with filtration of selection. Once data are bound to the grid, please dispose of the temp collection, to avoid memory usage.
Naresh BeniwalPosted Nov 22, 2022, 9:59 AM
https://www.codeproject.com/Questions/486024/howplustoplusbringplustheplusselectedplusrowsplust
Neha SharmaPosted Oct 30, 2012, 6:28 AM
Please refer to the following links:
http://forums.asp.net/t/1490023.aspx/1
It may be help you.