Magazine |
| | Community |
| | Workshop |
| | Tools & Samples |
| | Training |
| | Site Info |
|
|
||||||||
|
Sets or retrieves how the data supplied to the object should be rendered.
Syntax
HTML <ELEMENT DATAFORMATAS = "text" | "html" ... > Scripting object.dataFormatAs [ = sFormat ]
Possible Values
The property is read/write with a default value of text.
text Data rendered as text. html Data rendered as HTML.
Remarks
The property can be set at design time and at run time. At design time, use the DATAFORMATAS attribute.
Example
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.
Sample Code
<DIV DATAFLD="Column2" DATAFORMATAS="html"></DIV><SPAN DATASRC="#bank_acct" DATAFLD="balance" DATAFORMATAS="html"></SPAN><TEXTAREA DATASRC="#customer" DATAFLD="address" DATAFORMATAS="text" ROWS=6 COLS=60> </TEXTAREA>
Applies To
Does this content meet your programming needs? Write us!
© 1998 Microsoft Corporation. All rights reserved. Terms of use.