Display sql table bottom to up
How to display sql table, b开发者_如何学Goottom to top in my aspx page?
Just like facebook wall. Last comment shows on top.
I want c# code for it.
I think you are looking to return the sql query in Descending Order. You can achieve this with a SQL query like...
Select * from TableName order by ColumnName Desc
For Details have a look into this ORDER BY Clause (Transact-SQL)
use below query
select * from table order by column DESC
精彩评论