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,
	string SourceObjectNameToBindTo,
	string SourceMemberToBindTo)

Parameters

ControlToBind
An instance of a control that is to be bound

ControlPropertyToBind
The property on the control to bind to

SourceObjectNameToBindTo
The name of a data item or object to bind to.

SourceMemberToBindTo
The name of the property on the object to bind to

Overloads:


See also:

Class DataBinder

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