|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
DatabindingsHi 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 > Almost the same as apples and pears.> Whats the Difference between: > 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
Other interesting topics
|
|||||||||||||||||||||||