Data Binding : SPAN Element

Description: You can use the SPAN tag to bind data directly into the text of the page. The content of the span is bound. The example shows two SPAN tags used to insert the company name and symbol for

ITPro Today

February 18, 2002

1 Min Read
ITPro Today logo in a gray background | ITPro Today

Description: You can use the SPAN tag to bind data directly into the text of the page. The content of the span is bound. The example shows two SPAN tags used to insert the company name and symbol for a stock into a paragraph of text. And, although not shown in the current record demo, spans can also display HTML when present in the data by adding the DATAFORMATAS attribute.

More Details
SPAN tags can also be used inside a repeated table. The demo also shows the span using the DATAFORMATAS attribute.

Browser/Platform Compatibility
Data binding is supported in Internet Explorer 4 and Internet Explorer 5.

Complete Article

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like