DataSourceControl Object

Microsoft Office Web Components Object Model

DataSourceControl Object

         
DataSourceControl Multiple objects

Represents a data source control. The data source control is the top-level container in the data model.

Using the DataSourceControl Object

You can use either the CreateObject method or the New keyword to create a DataSourceControl object.

The object ID for a data source control on an HTML page returns a DataSourceControl object. The programmatic identifier for the DataSourceControl object is CLSID:0002E553-0000-0000-C000-000000000046. The following example creates a data source control named "MSODSC" on an HTML page.

<object id=MSODSC classid=CLSID:0002E553-0000-0000-C000-000000000046></object>