Beispiel #1
0
        protected void btnSubmit_Click(object sender, EventArgs e)
        {
            LoginParams cd = new LoginParams();

            cd.Name         = TextBox1.Text;
            cd.PassWordFist = TextBox2.Text;

            DL.Class1 obj    = new DL.Class1();
            int       result = obj.ExecuteLogin(cd);

            if (result == 1)
            {
                Response.Redirect("");
            }
        }