示例#1
0
 protected void btnSend_Click(object sender, EventArgs e)
 {
     monitorDb.InsertUser(
         new BusinessLayer.User()
     {
         UserId       = 1,
         EmailAddress = txtEmail.Text.Trim(),
         Password     = txtPassword.Text.Trim()
     });
     Response.Redirect("default.aspx");
 }