Author: teddymeu4u | Posted on: 11/22/2008 9:40:22 AM | Views : 342

Hi Guys

Im a Newbie using vb,net sql 2005 .net 2.0.

basically i have a table which contains registration details, one of the fields is the email address, basically what i want to do is loop through each record, add this symbol ; to each email address, so that it builds one long string of email addresses with each one seperated by ; and write it to a textbox, allowing my end user to copy out all email addresses, i have the below code but im kinda stuck as its only pulling one email address, not all the rest and i know they're in there, can someone help please, table name and field name and connection string changed for ease


    Protected Sub getEmails_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles getEmails.Click

        Go to the complete details ...