DataSourceControl Object

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

DataSourceControl
Aa190559.space(en-us,office.10).gifAa190559.parchild(en-us,office.10).gif

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>