Eggybread Eggybread - 10 months ago 48
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 Source

Use the & to concatenate your values:

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