Example #1
0
 protected void _btnCreateUser_Click(object sender, EventArgs e)
 {
     context.CreateCustomer(new Customer(_txtBoxUserName.Text, _txtBoxUserAddress.Text, _txtBoxPhone.Text));
     Response.Redirect("~/Pages/Users.aspx");
 }