How to arrange the items of gridview ?
        Posted  
        
            by kranthi
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by kranthi
        
        
        
        Published on 2010-04-07T12:26:54Z
        Indexed on 
            2010/04/07
            12:53 UTC
        
        
        Read the original article
        Hit count: 497
        
I have a settings page in my asp.net website,in which a user can select desired items and their order to be displayed in another page.I am displaying these items(which are obtained from database) in a gridview with checkboxes,up/down arrows next to them.Once the user makes his selection/rearranges the items and clicks on the 'Save' button,I am saving the data into another database table.When this particular user logsin again I want to check the items which were already chosen by him and arrange them in the order he specified, on page load.I am able to check the checkboxes of the already chosen items but do not understand how do I arrange the items in the user specified order?
Please help.
Thanks.
© Stack Overflow or respective owner