Posted on: 9/2/2013 5:32:42 AM | Views : 938

I am using a tableadapter to extract names from a table and send an email to the email addresses. Here is the sample output for the letters:
Dear Alexander Kleshchenko, test Dear Alexander Kleshchenko, test Dear Alia Ott, test Dear Alexander Kleshchenko, test Dear Alia Ott, test Dear Billie Jackson, test

As you can see, Dear Alexander Kleshchenko is repeated 3 times! Alia Ott,is repeated twice. Why is this happening? The names only appear once in the table. Any help is appreciated.

Protected Sub GridView1_RowCommand(ByVal sender As Object, _   ByVal e As System.Web.UI.WebControls.GridViewCommandEventArgs)         If (e.CommandName = "BlastEmail") Then             ' Retrieve the row index stored in the CommandArgument property. ...

Go to the complete details ...