I am attaching code.
I am using the mailmessage class and a txt file in App_Code. I want to do a sql query and embed 'tite' from the resultset into the body of the email.
When I coded - body = body.Replace("##title##", titles)
I get the first 'title' back and nothing else. I added additional code -
Dim titles As String = reader("title").ToString()
Still get only first 'title' back from sql call. Checked sql call and count shows "6'.. which is what I would expect.