Eggybread Eggybread - 2 months ago 9
Vb.net 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

Use the & to concatenate your values:

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