hi every one i need to send data gridview values as email body but i dont know how to do it. Could any one help. The values which i want to send are location,date,and price. here is my code
Dim mail As New MailMessage
mail.Subject = "hi"
mail.To.Add("to@hotmail.com")
mail.From = New MailAddress("from@hotmail.com")
mail.Body = ??
Dim smtp As New SmtpClient("smtp.live.com")
smtp.EnableSsl = True
smtp.Credentials = New System.Net.NetworkCredential("Myemail@hotmail.com", "My password")
smtp.Port = "587"
smtp.Send(mail)