Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Get Binding Source at Runtime From a Date Time Picker

Status
Not open for further replies.

Auguy

Programmer
May 1, 2004
1,206
US
I can get the column name using the following.
Code:
Dim ColName As String = dtpInvoiceDate.DataBindings(0).BindingMemberInfo.BindingField.ToString
But I can't find how to get the binding source.
I've looked in BindingManagerBase and BindingMemberInfo.
I thought it would be in BindingMemberInfo where I got the column name, but I don't see it, what am I missing?

Auguy
Sylvania/Toledo Ohio
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top