Partager via


ListObject.Disconnect Method

Removes data binding from the ListObject control.

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

Syntax

'Declaration
Sub Disconnect
void 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 Interface

Microsoft.Office.Tools.Excel Namespace

Other Resources

Binding Data to Controls in Office Solutions