For saving you need to insert all the values in the database.
First establish a connection like this.
Dim con As New SqlConnection("user id=sa;pwd=mssi@123;server=PHPDEVELOP;database=onlinegre")
Next write the sqlcommand for inserting.
For mail sending
Imports System.Web.Mail
Dim mail As New MailMessage
Dim mailvalue, password As String
mailvalue = emailid.Text 'emailid.Text is the name of text box in which you enter mail address
mail.To = mailvalue ' to whom you sent.
mail.From = "
[email protected]"
mail.Subject = "Your Gre Online Login Information"
mail.Body = "Welcome Your Login id is:" & emailid.Text
SmtpMail.SmtpServer = "materialsoft.com.xohost.com" 'your real server goes here
SmtpMail.Send(mail)
Enter your message below
Sign in or Join us (it's free).