Export (0) Print
Expand All
Expand Minimize

How to: Add HTML into a Report

SQL Server 2008

Using a placeholder, you can import HTML from a field in your dataset for use in the report. By default, a placeholder represents plain text, so you will need to change the placeholder mark-up type to HTML. For more information, see Formatting Text and Importing HTML.

To add HTML from a field in your dataset into a text box

  1. If the Toolbox is not visible, click Toolbox on the View menu.

  2. Double-click or drag a Textbox report item to the design surface.

  3. Drag a field from your dataset into the text box. A placeholder is created for your field.

  4. Right-click the placeholder, and then click Placeholder Properties.

  5. On the General tab, verify that the Value box contains an expression that evaluates to the field you dropped in step 3.

  6. Click HTML - Interpret HTML tags as styles. This causes the field to be evaluated as HTML.

  7. Click OK. 

Community Additions

ADD
Show:
© 2015 Microsoft