Click here to Skip to main content
15,888,351 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I Want to show newly added data in first row of gridview and repeater?

how is it possible?
Posted
Comments
Rahul VB 17-Jan-14 5:50am    
which means you only want to show the data if its newly added other wise you dont want to.Which means only new rows added and not to render old data, am i right?

1 solution

Can handle it either by using Order By ID Desc in the sql query which is bound to Gridview/Repeater or sort the Collection (like using linq) before assigning it to the Datasource through code.
 
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