Click here to Skip to main content
16,014,704 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hello sir. i am entering some rows to gridview. i am not using any database. but it is not taking first 1st row, next 2nd row.
when ever iam entering one row it is displaying bottom. when ever i am entering second row. first row is moving up. and second row is displaying bottom. i want to fill the rows from to bottom in a order. to do this. how plz tell me. any body plz help me.
thanking you.
Posted

Use sorting in Datasource[^](Ex.Datatable) or in Gridview[^]
 
Share this answer
 
To do this you need to manipulate the datasource (example DataTable or List etc )and sort the datasource using LINQ.
 
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