Bind a UI control to this DOCollection as a Data Source
Empty line will provide a message as the first item in the bound list -
validation code should handle a value of -1 the the combo is on this element.
| C# | Visual Basic | Visual C++ |
public void BindDataSource( Enum valuePropertyName, ListControl boundWebControl )
Public Sub BindDataSource ( _ valuePropertyName As Enum, _ boundWebControl As ListControl _ )
public: void BindDataSource( Enum^ valuePropertyName, ListControl^ boundWebControl )
- valuePropertyName (Enum)
- Column reference (using the columns enum from the corresponding DataObject) of the Value on the control.
- boundWebControl (ListControl)
- Web control to bind to
The message on the first line is a -1 value.