using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; public partial class EditProfile : System.Web.UI.Page { protected void Button1_Click(object sender, EventArgs e) { // Save the email address that has been entered into the textbox Profile.Email = TextBox1.Text; } }