Home All Groups Group Topic Archive Search About
Author
8 Nov 2005 11:34 AM
No_So_Clever
Hi There,

I wonder If Somebody could Kindly Help me?

Whats the Difference between:

textBoxID.DataBindings.Add("Text", custList, "CustomerID")
textBoxTitle.DataBindings.Add("Text", custList, "ContactTitle")
textBoxLastName.DataBindings.Add("Text", custList, "ContactName")
textBoxFirstName.DataBindings.Add("Text", custList, "CompanyName")
textBoxAddress.DataBindings.Add("Text", custList, "Address")

and

dgdcustlist.SetDataBinding(dsCustList, "CustomerLists")

Many Thanks
NSC

Author
8 Nov 2005 2:43 PM
Cor Ligthert [MVP]
>
> Whats the Difference between:
>
Almost the same as apples and pears.

The first binds a single property from a simple control to another property

The seconds binds a list of properties to the list of items from a complex
control

However the bindingcontext  (currencymanager) works for both the same.

I hope this helps,

Cor

AddThis Social Bookmark Button