hi,, can any1 tell solution for this
o/p i am getting in this order:
01/05/2010
02/05/2010
09/03/2010
30/04/2010
but i need in following way.
09/03/2010
30/04/2010
01/05/2010
02/05/2010
Any idea for doing this, in database i have birthDate as "Text" field.

CrishRank #1,486 · 1.1K reputationPosted May 14, 2010, 4:19 AM EDT
please use below query
Select schoolmaster.Name from schoolmaster order by birthDate asc
If you have taken birthDate as Texttype then you need to convert it datetime and then you can sort it.
thanks
Dipa AhujaRank #1,168 · 1.5K reputationPosted May 14, 2010, 4:24 AM EDT
yashvant k26 reputationPosted May 14, 2010, 4:32 AM EDT
I cant chage field to datetime property for it.
CrishRank #1,486 · 1.1K reputationPosted May 14, 2010, 5:52 AM EDT
have you used birthdate as nvarchar or anything else ? . becuase my side its working fine with nvarchar datatype.