NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

BindingManager Constructor

Initializes a new instance of the System.BindingManager class.

[Visual Basic]
Public Sub New()
[C#]
public BindingManager();
[C++]
public: BindingManager();
[JScript]
public function BindingManager();

Example [Visual Basic]

The following example gets the BindingManager of a Win Form and uses it to return a ListManager.

[Visual Basic]

Private Sub GetBindingManager()
   Dim bm As BindingManager
   bm = Me.BindingManager
   ' Get the ListManager for the bound control using the BindingManager
   ' of the Win Form. Pass the same table to the BindingManager as the bound control.
   lm = bm(ds.Tables("Suppliers"), "")
End Sub

See Also

BindingManager Class | BindingManager Members | System.WinForms Namespace | System.Collections.BindingManager.ListManager