xyzii Posted February 14, 2017 Share Posted February 14, 2017 So I have made an updates script with database. It adds a rows to a gridlist but it adds from oldest to newest. How can I make it so the newly added updates are first? Link to comment
Mr.Loki Posted February 14, 2017 Share Posted February 14, 2017 an ez way just transfer everything in the db table to another table and then add them to the gridlist Link to comment
Addlibs Posted February 14, 2017 Share Posted February 14, 2017 The easiest solution would be to inverse the order which you are collecting from the database by appending ORDER BY x DESC/ASC (replace x with the column name for whatever it is you want to sort by, whether that is ID column or date-added column or whatever. Link to comment
xyzii Posted February 14, 2017 Author Share Posted February 14, 2017 Thanks for your help, got it working! Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now