How to show Sorted data in data grid RRS feed

  • General discussion

  • Hi every one

    I am showing database of user through data grid , datagrid showing columns, userId,Login Id , Date , now when ever i open the application it show me all the data , but i want to see only data of today like i want to see the data of user login today ( 16th Feburary 2010) .

    i use the query to show the data of recent date but for that u need to click on the button and i dont want that i want that when i open it , it show me the recent data not the previous data sorted by date , and i am using type Varchar(50) in a table for Date . and its not showing the data too ..
    Tuesday, February 16, 2010 2:05 AM