protected void CheckUserMail(HttpContext context) { string userMail = context.Request["userMail"]; if (userBLL.CheckUserMail(userMail)) { context.Response.Write("邮箱已被占用"); } else { context.Response.Write("邮箱可用"); } }