Question : get last day of each month of year

I have a table that  I pull the last date of every month along with host of other data.  But I need to see all months in my data but only the last day of each month.

So what I need to do is find the last month that is in the table and then add in the rest of the months.  For example here is a current data pull and it ends with 31 march 2010.  So I need to find the rest of the months up till Sep 30 2010, becaseu Oct starats a new fiscal year.  hten I need to add to my gridview as rows, but first lets start with getting the end of month dates.  Heres the ones that pull in my current example.

31 Oct 2009
30 Nov 2009
31 Dec 2009
31 Jan 2010
28 Feb 2010
31 Mar 2010

From here I need to find 30 April 2010 and then add to my gridview rows and then so on till i get to Sep 30th.

so in my griwview it would look liek this

31 Oct 2009
30 Nov 2009
31 Dec 2009
31 Jan 2010
28 Feb 2010
31 Mar 2010
30 Apr 2010
31 May 2010
30 Jun 2010
31 Jul 2010
31 Aug 2010
30 Sep 2010

Here is what I have so far, I find my grid count and the last date that was added to the gridview

1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
If Gridmain.Rows.Count - 1 < 11 Then
            'Get the values of the last row count and the last textbox in the row.
            AddMonths(Gridmain.Rows.Count - 1, myGridView.Rows(Gridmain.Rows.Count - 1).Cells(0).Text)
        End If

Then here is mu sub but at this point I am lost.

Private Sub AddMonths(ByVal rowCount As Integer, ByVal month As Date)


    End Sub

Answer : get last day of each month of year

At this point I would just contact Adobe Support it will save you a ton of time, and hastle.  A complete uninstall has always worked for me.

FDM
Random Solutions  
 
programming4us programming4us