Category / Section
How to setup databinding to WinForms DateTimePicker (DateTimePickerAdv)?
1 min read
Databinding
Bind the data to the BindableValue property of the DateTimePickerAdv.
C#
this.dateTimePickerAdv1.DataBindings.Add(new System.Windows.Forms.Binding("BindableValue", this.dataSet11, "Table1.Date"));
VB
Me.dateTimePickerAdv1.DataBindings.Add(New System.Windows.Forms.Binding("BindableValue", Me.dataSet11, "Table1.Date"))