When you dynamically create something, you have to reference the instance in order to access the property and/or field.
Your dynamic controls do not have such a declaration.
Typically, the way you process a grid is by using a loop, and going through each row in the grid.
The form in design view: Add the following code in the code editor window: Public Class Form1 Private Sub Form1_Load(sender As Object, e As Event Args) Handles My Base.
attribute you can pass an object containing all the required configuration for your datetimepicker.