View Single Post
Old 01-31-2006, 01:18 PM   #3 (permalink)
rikb53
Registered User
 
Join Date: Jan 2006
Posts: 29
rikb53 is on a distinguished road
figured this out

Actually that was no help but i was able to figure this out using Stringbuilder
Append Property and Use Html code and a Datarow to loop thru my dataset.
see below thanks
rik

Dim sb As New StringBuilder
oMailMsg.BodyFormat = MailFormat.Html
Dim aRow As DataRow

sb.Append("<p><img SRC=C:\SelectLogo.gif></p><br>")--Image embeded

For Each aRow In ds.Tables(0).Rows
sb.Append("<table border=1><tr><td>" + aRow.Item(0) + "</td>" + "<td>" + aRow.Item(1) + "</td></tr></table>")
Next
oMailMsg.Body = sb.ToString
rikb53 is offline   Reply With Quote