Posted on: 1/21/2015 11:10:02 PM | Views : 625

Hello :-)
I need a help with coding please, as i am planing that after user register to send automatic e-mail to him within the below code, and that email suppose to contain his UID and some other text information, so please could you help me with adding the sending email code to the below code, i have search online for many tutorial but i am still stuck and nothing happen to me and some of them didnt work

protected void btnSave_Click(object sender, EventArgs e) { HttpCookie cookie = Request.Cookies.Get("Location"); string Location = string.Empty; SqlConnection cn = new SqlConnection(sc); SqlCommand cmd = new SqlCommand(); Location = cookie.Value; if (CheckBox1.Checked) { string sqlstatment = @"INSERT INTO UserInfo (UID, FN, LN, Password, RePass, Email,Country, State,City, Post, Img, Logo, ...

Go to the complete details ...