ListObject.Disconnect Method (2007 System)

Removes data binding from the ListObject control.

Namespace:  Microsoft.Office.Tools.Excel
Assembly:  Microsoft.Office.Tools.Excel.v9.0 (in Microsoft.Office.Tools.Excel.v9.0.dll)

Syntax

'Declaration
Public Sub Disconnect
'Usage
Dim instance As ListObject

instance.Disconnect()
public void Disconnect()
public:
void Disconnect()
public function Disconnect()

Remarks

This method disconnects the ListObject control from the data source, sets the IsBinding property to false, and resets the DataSource and DataMember properties. Existing data remains in the ListObject control.

.NET Framework Security

See Also

Reference

ListObject Class

ListObject Members

Microsoft.Office.Tools.Excel Namespace

Other Resources

Binding Data to Controls in Office Solutions