/// <summary> /// Save Contact Record /// </summary> /// <param name="sender"></param> /// <param name="e"></param> protected void btnSave_Click(object sender, EventArgs e) { Contact contact = new Contact(); if (ContactID > -1) { contact = SaveContact; } contact.Name = txtName.ValueText; contact.Address = txtAddress.Text; contact.City = txtCity.Text; contact.State = txtState.Text; contact.Zip = txtZip.Text; contact.Email = txtEmail.Text; contact.Twitter = txtTwitter.Text; contact.Save(); // Assume Saved - Should Really Check for return Response.Redirect("~/Default.aspx"); }