Example #1
0
        protected void Button3_Click(object sender, EventArgs e)
        {
            int f = 0, t = 0, d = 0, s = 0, m = 0;

            if (RadioButton2.Checked == true)
            {
                f = 1;
            }
            A.loginverify(f, Session["uname"].ToString());
            if (RadioButton5.Checked == true)
            {
                t = 1;
            }
            A.picprivacy(t, Session["uname"].ToString());
            if (RadioButton4.Checked == true)
            {
                d = 1;
            }
            A.deactive(d, Session["uname"].ToString());
            if (RadioButton8.Checked == true)
            {
                s = 1;
            }
            A.statusprivacy(s, Session["uname"].ToString());
            if (RadioButton9.Checked == true)
            {
                m = 1;
            }
            else if (RadioButton10.Checked == true)
            {
                m = 2;
            }
            A.mailsecurity(m, Session["uname"].ToString());
        }