Hi,
I have a gridview loaded with a datatable. I have 2 buttons "Up" and "Down" outside the grid. The "Up" button takes the selected row and moves it up one row. The "Down" button takes the selected row down a row.
eg:
1 sample1
2 sample2
if selected row is sample1 and then i click down button, i need to change the grid row to
2 sample2
1 sample1
please give solution for this
I have a gridview loaded with a datatable. I have 2 buttons "Up" and "Down" outside the grid. The "Up" button takes the selected row and moves it up one row. The "Down" button takes the selected row down a row.
eg:
1 sample1
2 sample2
if selected row is sample1 and then i click down button, i need to change the grid row to
2 sample2
1 sample1
please give solution for this