Hi
In registration page after inserting values into database i send the details to that user mail id and then i need to through a message like registered successfully and it will redirect to another page.
How can i done this?
here is my code
Session["plan"] = "6 Months Pack";
int view = 1;
Session["viewedd"] = view.ToString();
int res = ob_dal.registration(txtmername.Text, txtlogname.Text, "", "", txtaddr.Text, txtzipcode.Text, "", txtpho.Text, "", txtemail.Text, txtpwd.Text, rdbtnplan.SelectedItem.Value, "", Convert.ToDateTime(start_date), Convert.ToDateTime(end_date), txtfname.Text, txtlname.Text, txtcompname.Text, txtcomsite.Text, logo_img, "No");
if (res > 0)
{
lblMsg.Visible = true;
Page.ClientScript.RegisterStartupScript(this.GetType(), "msg", "<script>alert('Registered Successfully')</script>");
}
int SendMail = ob_dal.sent_mail(un, locpwd, locmail);
Response.Redirect(@"https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=marlen@gmail.com&amount=" + 40 + "");