Example #1
0
    protected void btnsignup_Click(object sender, EventArgs e)
    {
        SellerSignUp cdl = new SellerSignUp();
        int          check;


        check = cdl.signup(tbfn.Text, tbpswd.Text, tbphno.Text, tbemail.Text, tbacnt.Text, tbifsc.Text, tbgstin.Text);
        if (check == 1)
        {
            tbfn.Text = "";

            tbphno.Text    = "";
            tbconpswd.Text = "";
            tbemail.Text   = "";
            tbacnt.Text    = "";

            tbifsc.Text = "";
            tbifsc.Text = "";
            Response.Redirect("Login.aspx");
            // System.Threading.Thread.Sleep(5000);
            // Response.Redirect("Cust_SignUp.aspx");
            // SU_Label.Text = "Signup Successfull";
        }
        else
        {
            SignUpMsg.Text = "Signup Failed";
        }
    }
    protected void Signupbtn_Click(object sender, EventArgs e)
    {
        SellerSignUp cdl = new SellerSignUp();
        int          check;

        check = cdl.signup(fname.Text, password.Text, pno.Text, email.Text, Accnumber.Text, Ifsccode.Text, GSTIN.Text);
        if (check == 1)
        {
            lblMsg.Text = "Signup Successfull";
        }
        else
        {
            lblMsg.Text = "Signup Failed";
        }
    }