BindingSource Constructor (Object, String)

 

Initializes a new instance of the BindingSource class with the specified data source and data member.

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

public BindingSource(
	object dataSource,
	string dataMember
)

Parameters

dataSource
Type: System.Object

The data source for the BindingSource.

dataMember
Type: System.String

The specific column or list name within the data source to bind to.

.NET Framework
Available since 2.0
Return to top
Show: