Exemplo n.º 1
0
 protected void basicProfileSaveButton_Click(object sender, EventArgs e)
 {
     using (FlexibleTennisLeagueDataContext dataContext = new FlexibleTennisLeagueDataContext())
     {
         dataContext.UpdateBasicUserInfoByEmailId(HttpContext.Current.User.Identity.Name, zipTextBox.Text, firstNameTextBox.Text, lastNameTextBox.Text, phoneTextBox.Text, Convert.ToInt32(homeCourtDropDownList.SelectedValue), Convert.ToDouble(nTRPDropDownList.Text));
         HttpContext.Current.Items["User"] = null;
     }
 }