Esempio n. 1
0
        protected void Button1_Click(object sender, EventArgs e)
        {
            string loginString = Security.GetHash512(txtUserName.Text, txtPassword.Text);



            DAL_Users aLayer = new DAL_Users();

            aLayer.addUser(txtFirstName.Text, txtLastName.Text, txtPhoneNumber.Text, txtAddress.Text, txtEmail.Text, txtUserName.Text, loginString);



            txtFirstName.Text = "";

            txtLastName.Text = "";

            txtPhoneNumber.Text = "";

            txtAddress.Text = "";

            txtEmail.Text = "";

            txtUserName.Text = "";

            txtPassword.Text = "";

            Response.Redirect("Login.aspx");
        }
        protected void btnAddCart_Click(object sender, EventArgs e)
        {
            DAL_Users aLayer = new DAL_Users();

            // aLayer.addCar(txtCarName.Text, txtType.Text, txtPrice.Text, txtDescription.Text);
        }