Private Sub MonthCalendar1_DateSelected(ByVal sender As Object, ByVal e As System.Windows.Forms.DateRangeEventArgs) Handles MonthCalendar1.DateSelected
Me.TextBox1.Text = Format(e.End, "dd-MMM-yyyy")
Dim i As Integer
While (i <> Me.DataGridView1.Rows.Count - 1)
Me.DataGridView1.Item(0, i).Value = Format(e.End, "dd-MMM-yyyy")
i = i + 1
End While
End Sub
If you want to add Calendar Column in Datagrid, it can be done by using calendar class. If you need I will add in this solution. I have used in my various projects.