How to show all first sunday in grid from the range of two date
Hello friends,
I am a new member in this corner. So I hopes you will help me and try to give me solution of my question.
In my web form , I have two asp.net calendar control. Based on two selected date like first is 17/10/2009 and second one is 17/10/2010 then need to show all first sunday between this two date range in gridview.
Output is like:
1/11/2009
6/12/2009
3/01/2010
7/02/2010 and so on...
Note:- Date format here is dd/mm/yyyy
Please reply me if anyone have solution or idea.
Thanks in advance.