protected void btnSignIn_Click(object sender, EventArgs e) { UserData entity = new UserData(); entity.Email = txtLoginEmail.Text; entity.Password = txtLoginPassword.Text; System.Diagnostics.Debugger.Break(); }
protected void btnResetPassword_Click(object sender, EventArgs e) { UserData entity = new UserData(); entity.Email = txtLoginEmail.Text; // Show the message area divMessageArea.Visible = true; System.Diagnostics.Debugger.Break(); }
protected void btnSignIn_Click(object sender, EventArgs e) { UserData entity = new UserData(); entity.Email = txtLoginEmail.Text; entity.Password = txtLoginPassword.Text; entity.IsRememberMeChecked = chkRememberMe.Checked; // Show the message area divMessageArea.Visible = true; System.Diagnostics.Debugger.Break(); }
protected void btnConfirm_Click(object sender, EventArgs e) { UserData entity = new UserData(); entity.Email = txtEmail.Text; entity.FirstName = txtFirstName.Text; entity.LastName = txtLastName.Text; entity.Password = txtPassword.Text; entity.SecurityQuestion = txtSecurityQuestion.Text; entity.SecurityAnswer = txtSecurityAnswer.Text; divMessageArea.Visible = true; System.Diagnostics.Debugger.Break(); }
protected void btnRegister_Click(object sender, EventArgs e) { UserData entity = new UserData(); entity.FirstName = txtFirst.Text; entity.LastName = txtLast.Text; entity.Email = txtEmail.Text; entity.Password = txtPassword.Text; entity.IsAgreeToTermsChecked = true; // Show the message area divMessageArea.Visible = true; System.Diagnostics.Debugger.Break(); }
protected void btnSignIn_Click(object sender, EventArgs e) { UserData entity = new UserData(); if (Page.IsValid) { entity.Email = txtLoginEmail.Text; entity.Password = txtLoginPassword.Text; // Show the message area divMessageArea.Visible = true; } System.Diagnostics.Debugger.Break(); }
protected void btnSave_Click(object sender, EventArgs e) { UserData entity = new UserData(); entity.FirstName = txtFirst.Text; entity.LastName = txtLast.Text; entity.Email = txtEmail.Text; entity.Password = txtPassword.Text; entity.Street1 = txtStreet1.Text; entity.Apartment = txtApt.Text; entity.City = txtCity.Text; entity.State = ddlState.SelectedValue; entity.BirthDay = Convert.ToInt32(ddlDays.SelectedValue); entity.BirthMonth = Convert.ToInt32(ddlMonths.SelectedValue); entity.BirthYear = Convert.ToInt32(ddlYears.SelectedValue); // Show the message area divMessageArea.Visible = true; System.Diagnostics.Debugger.Break(); }
protected void btnSave_Click(object sender, EventArgs e) { UserData entity = new UserData(); entity.FirstName = txtFirst.Text; entity.LastName = txtLast.Text; entity.Street1 = txtStreet1.Text; entity.Apartment = txtApt.Text; entity.City = txtCity.Text; entity.State = ddlState.SelectedValue; if(!string.IsNullOrEmpty(txtBirthDate.Text)) { entity.BirthDate = Convert.ToDateTime(txtBirthDate.Text); } entity.Email = txtEmail.Text; entity.Password = txtPassword.Text; entity.SecurityQuestion = ddlQuestions.SelectedValue; entity.SecurityAnswer = txtSecurityAnswer.Text; // Show the message area divMessageArea.Visible = true; System.Diagnostics.Debugger.Break(); }