Date format sorting issue

jensenberlin

New Member
I am using asp.net 2005 on my system and creating a application. I have an issue with date format sorting. I have a table including three fields like "user name, date time, visit page".My records for this as below\[code\]user name date time visited page xyz 4/4/2013 5:30:45 PM aaa.aspx xyz 4/4/2013 6:35:15 PM aaa.aspx xyz 4/4/2013 7:55:45 PM aaa.aspx xyz 4/4/2013 10:05:45 PM aaa.aspx xyz 4/4/2013 11:06:45 PM aaa.aspx\[/code\]I want to sorted this without using java script or jquery.and the output should be \[code\]user name date time visited page xyz 4/4/2013 11:06:45 PM aaa.aspx xyz 4/4/2013 10:05:45 PM aaa.aspx xyz 4/4/2013 7:55:45 PM aaa.aspx xyz 4/4/2013 6:35:15 PM aaa.aspx xyz 4/4/2013 5:30:45 PM aaa.aspx\[/code\]But I got the output like this\[code\]user name date time visited page xyz 4/4/2013 7:55:45 PM aaa.aspx xyz 4/4/2013 6:35:15 PM aaa.aspx xyz 4/4/2013 5:30:45 PM aaa.aspxxyz 4/4/2013 11:06:45 PM aaa.aspx xyz 4/4/2013 10:05:45 PM aaa.aspx \[/code\]I tried to sorted this via dataview but its not working properly can any one help me out for this issue.
 
Back
Top