Hi
Not exactly sure if this is of any help, but here it is - just ignore if not.
Option Strict On
Option Explicit On
Public Class Form1
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
Dim tests(3) As test
tests(0) = New test With {.int = 1, .dat = Now.Date, .str = "Freddy"}
tests(1) = New test With {.int = 2, .dat = Now.AddDays(-11), .str = "Freddy2"}
tests(2) = New test With {.int = 3, .dat = Now.AddDays(11), .str = "Freddy3"}
tests(3) = New test With {.int = 4, .dat = Now.AddDays(-111), .str = "Freddy4"}
DataGridView1.DataSource = tests
DateTimePicker1.DataBindings.Add("value", tests, "dat", True, DataSourceUpdateMode.OnPropertyChanged)
End Sub
Class test
Property int As Integer
Property dat As Date
Property str As String
End Class
End Class