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
|