Reading Comma Separated Values from Textbox - .NET
txtAdditionalMailAddress.text = "shyam@gmail.com,Shyam1@gmail.com,Shyam2@gmail.com"
Dim lstAdditionalEmail As New List(Of String)
For Each s As String In txtAdditionalMailAddress.Text.Split(","c)
lstAdditionalEmail.Add(s)
Next
List will be,
shyam@gmail.com
Shyam1@gmail.com
Shyam2@gmail.com
txtAdditionalMailAddress.text = "shyam@gmail.com,Shyam1@gmail.com,Shyam2@gmail.com"
Dim lstAdditionalEmail As New List(Of String)
For Each s As String In txtAdditionalMailAddress.Text.Split(","c)
lstAdditionalEmail.Add(s)
Next
List will be,
shyam@gmail.com
Shyam1@gmail.com
Shyam2@gmail.com
Keep posting articles like this one , good job ,you may be interested in this article: gmail.comma.
ReplyDelete