5
Answers

loop - datetime - get quarters in ddl

Dear all,

How do I get the quaters in dropdownlist in asp.net as from 2005 -

I want the output as
Q1 (January 2005 - March2005)
Q2 (April 2005 - June 2005)
Q3 (July 2005 - September2005)
Q4 (October 2005 - December2005)
<br/> - Line gap between 2 quarters
Q1 (January 2006 - March2006)
Q2 (April 2006 - June 2006)
Q3 (July 2006 - September2006)
Q4 (October 2006 - December2006)

Please help..its a bit urgent....

Not able to form a loop..
Answers (5)