Пример #1
0
        private void GoToRegistrationTest()
        {
            RegistrationInfo info = new RegistrationInfo();
            info.FirstName = tbFirstName.Text;
            info.LastName = tbLastName.Text;
            info.Email = tbEmail.Text;
            info.Password = tbPassword.Text;

            //Response.Redirect("RegisterSuccess.aspx");
            Session["RegistrationInfo"] = info;
            Response.Redirect("RegistrationTest");
        }
Пример #2
0
        private void GoToRegistrationTest()
        {
            RegistrationInfo info = new RegistrationInfo();

            info.FirstName = tbFirstName.Text;
            info.LastName  = tbLastName.Text;
            info.Email     = tbEmail.Text;
            info.Password  = tbPassword.Text;

            //Response.Redirect("RegisterSuccess.aspx");
            Session["RegistrationInfo"] = info;
            Response.Redirect("RegistrationTest");
        }