dataFormatAsdataFormatAs*
*Contents  *Index  *Topic Contents
*Previous Topic: dataFld
*Next Topic: dataPageSize

dataFormatAs

Description

Specifies how the data supplied to the element should be rendered.

Syntax

object.dataFormatAs

Remarks

The property can be set at run time. At design time it can be set through the dataFormatAs attribute. In Internet Explorer 4.0, the possible values for both the property and the corresponding HTML attribute are TEXT and HTML. TEXT is the default.

Examples

In the following DIV and SPAN examples, the data will be supplied in HTML format. In the TEXTAREA example, the data will be supplied in text format.

<DIV DATAFLD="Column2" DATAFORMATAS="html"></DIV>
<TEXTAREA DATASRC="#customer" DATAFLD="address" DATAFORMATAS="text" 
    ROWS=6 COLS=60>
</TEXTAREA>
<SPAN DATASRC="#bank_acct" DATAFLD="balance" DATAFORMATAS="none"></SPAN>

Applies To

BODY, BUTTON, DIV, INPUT type=button, LABEL, MARQUEE, SPAN


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.