.net - how to display the records from gridview which is latest record show on first row -


I have a small application that uses gridview. In that, when we insert the record into the database, which is currently the record show in the first line of Gridview, please tell me how?

If you have a primary key auto increment or you have a datat time in the table, > ORDER BY ID DESC or ORDER BY INSERTDATE DESC with query at the end of the query can query the database.

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -