Mike,
Yes, you can bind a Win control to an object's property as long as the data types are compatable. Here is an example:
Public Sub UpdateBindings()
'create the customer object...
Dim customer As New Customer()
customer.Id = 27
customer.FirstName = "John"
customer.LastName = "Doe"
'bind it...
mybutton.DataBindings.Add("Text",customer,"FirstName")
>All I can seem to find is a way to bind them to datasets. Even the few examples I've found in C# books show code catching events and manually changing the value to simulate binding. Is that the best way?
>
>Thanks,
>Mike
-----------------------------------------
Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.comwww.prenia.comWeblog: blogs.prenia.com/cathi