Export (0) Print
Expand All

BindingNavigator.BindingSource Property

Gets or sets the System.Windows.Forms.BindingSource component that is the source of data.

Namespace:  System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

[<TypeConverterAttribute(typeof(ReferenceConverter))>]
member BindingSource : BindingSource with get, set

Property Value

Type: System.Windows.Forms.BindingSource
The System.Windows.Forms.BindingSource component associated with this BindingNavigator. The default is a null reference (Nothing in Visual Basic).

The BindingSource property represents the data source that the BindingNavigator navigates through. More specifically, the List property of the BindingSource represents the actual data list.

This is the default property for the BindingNavigator class.

The following code example demonstrates how to use a BindingNavigator control to move through a data set. The set is contained in a DataView, which is bound to a TextBox control with a BindingSource component. This code example is part of a larger example provided in How to: Move Through a DataSet with the Windows Forms BindingNavigator Control.

No code example is currently available or this language may not be supported.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft