Udostępnij za pośrednictwem


BindingSource Component

Encapsulates a data source for binding to controls.

The BindingSource component serves two purposes. First, it provides a layer of indirection when binding the controls on a form to data. This is accomplished by binding the BindingSource component to your data source, and then binding the controls on your form to the BindingSource component. All further interaction with the data, including navigating, sorting, filtering, and updating, is accomplished with calls to the BindingSource component.

Second, the BindingSource component can act as a strongly typed data source. Adding a type to the BindingSource component with the Add method creates a list of that type.

In This Section

Topic Location
How to: Bind Windows Forms Controls with the BindingSource Component Using the Designer Windows Forms Controls
How to: Bind a Windows Forms Control to a Type Using the Designer Windows Forms Controls
How to: Create a Lookup Table with the Windows Forms BindingSource Component Windows Forms Controls
How to: Bind Windows Forms Controls with the BindingSource Component Using the Designer Windows Forms Controls
How to: Bind a Windows Forms Control to a Type Using the Designer Windows Forms Controls
How to: Create a Lookup Table with the Windows Forms BindingSource Component Windows Forms Controls
How to: Bind Windows Forms Controls with the BindingSource Component Using the Designer Windows Forms Controls
How to: Bind a Windows Forms Control to a Type Using the Designer Windows Forms Controls
How to: Create a Lookup Table with the Windows Forms BindingSource Component Windows Forms Controls
How to: Bind a Windows Forms Control to a Type Using the Designer Windows Forms Controls
How to: Bind Windows Forms Controls with the BindingSource Component Using the Designer Windows Forms Controls
How to: Bind a Windows Forms Control to a Type Using the Designer Windows Forms Controls
How to: Create a Lookup Table with the Windows Forms BindingSource Component Windows Forms Controls

Reference

Topic Location
Displaying Data on Forms in Windows Applications Data Access in Visual Studio
Binding Controls to Data in Visual Studio Data Access in Visual Studio