Vb.Net Bindingsource advantage

rflorencio
rflorencio used Ask the Experts™
on
What is the advantage of Bindingsource or when should be used.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
IT Pro/Developer
Top Expert 2008
Commented:
From MSDN:
First, it simplifies binding controls on a form to data by providing currency management, change notification, and other services between Windows Forms controls and data sources. This is accomplished by attaching the BindingSource component to your data source using the DataSource property.
In addition, the BindingSource component can act as a strongly typed data source. Typically the type of the underlying data source is fixed through one of the following mechanisms:
  • Use the Add method to add an item to the BindingSource component.
  • Set the DataSource property to a list, single object, or type.
http://msdn.microsoft.com/en-us/library/system.windows.forms.bindingsource.aspx

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial