Articles in this section
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"))

 

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied