Eggybread Eggybread - 1 year ago 80 Question

Displaying a picture in an email (VB)

Any ideas on the correct syntax for the following..

bodyText.AppendLine(<img src='ltlItems.Text' /></a>)

The url is stored in ltlItems.Text

Many Thanks.

Answer Source

Use the & to concatenate your values:

bodyText.AppendLine("<img src='" & ltlItems.Text & "' /></a>")
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download