Share via


IHTMLDatabinding Object

IHTMLDatabinding

Represents elements that can be bound to data. Data binding, or client-side data binding, is a proprietary Microsoft Internet Explorer technology for which Microsoft FrontPage provides support through the IHTMLDatabinding object. The elements that provide databinding functionality and can use the IHTMLDatabinding object are the following:

A IMG OPTION
BUTTON     INPUT SELECT
DIV LABEL SPAN
FRAME MARQUEE     TABLE
IFRAME OBJECT TEXTAREA    

Using the IHTMLDatabinding Object

Use the tags method to return an IHTMLElementCollection collection that represents a collection of all of the specified elements in a document. Use the Item method to return an IHTMLDatabinding object that accesses a specific element, referenced by ordinal number or by the value of the id attribute. The following example sets the first IMG element in the active document to an IHTMLDatabinding object.

Dim objDataBound As IHTMLDatabinding

Set objDataBound = ActiveDocument.all.tags("img").Item(0)

Properties | dataFld Property | dataFormatAs Property | dataSrc Property

Parent Objects

Child Objects