DataBinder.AddBinding

Adds a binding to the control. This method is a simple way to establish a binding.

Returns the Item so you can customize properties further

public DataBindingItem AddBinding(Control ControlToBind,
	string ControlPropertyToBind,
	object SourceObjectToBindTo,
	string SourceMemberToBindTo)

Parameters

ControlToBind
An instance of the control to bind to

ControlPropertyToBind
Property on the control to bind to

SourceObjectToBindTo
An instance of the data item or object that is to be bound

SourceMemberToBindTo
The name of the property to bind on the data item or object

Overloads:


See also:

Class DataBinder

© West Wind Technologies, 1996-2016 • Updated: 12/12/15
Comment or report problem with topic