![]() |
![]() |
|
| Home I Company I Services I Documentation I Downloads I E-Support |
| home -> documentation -> language reference -> asHTML property | |||||||
|
This property indicates that the all the characters of a text contained in a dataset field or variable will be converted to the equivalent HTML codes in order to be visualized.
The asHTML property could be used for example, when you have text stored in a blob field and you want that characters like <,>, etc. or line feeds appear in the page exactly as stored in the database. The asHTML property could also be used in the DBSP tags:INCLUDE Tag
Example 1. The master pieces web gallery. The following example shows how to use the ASHTML property for building a Web Gallery. Source code
Examples/AsHTML1.dbsp
Test example
Example 2. Including external files. This example is very similar the previous one, but it uses the INCLUDE tag to load the description from an external file. Source code
Examples/AsHTML2.dbsp
Test example
|