I am using a grid view which has a column containing dates in ASP.net 2.0. The data is being pulled from a SQL database by which the datasource is connected through OLEDB. The problem that I am running into is that when I click on the date header to sort the field in the gridview, the dates are being sorted in a correct way untill 09/23/2005 but after that the sorting has become erratic that is
09/19/2006
09/16/2006
09/16/2006
09/16/2005
09/16/2005
09/16/2005
09/14/2006
09/14/2006
09/14/2006
09/14/2005
09/13/2006
09/13/2006
09/12/2006
09/12/2006
Can anyone get me out of this????
09/19/2006
09/16/2006
09/16/2006
09/16/2005
09/16/2005
09/16/2005
09/14/2006
09/14/2006
09/14/2006
09/14/2005
09/13/2006
09/13/2006
09/12/2006
09/12/2006
Can anyone get me out of this????