Hello,
I did a stupid mistake in which I had my date saved as varchar in the format:
"Tuesday, 25 November 2011".
Now my database was binded with a datagrid and the problem now comes when I am sorting the grid from date as it sorts it with week day.
How can i solve the problem the easiest way? Do i change the datatype of the database :sad:
I am using VS.Net 2008 and the database server is the Sql Server 2008. I have binded the grid using the Visual Studio.
Please help me.
Thanks
Adnan Masood.