CheckLj.ashx
上传用户:szhf331
上传日期:2022-06-22
资源大小:1032k
文件大小:1k
- <%@ WebHandler Language="C#" Class="CheckLj" %>
- using System;
- using System.Web;
- using student.BLL;
- public class CheckLj : IHttpHandler {
-
- public void ProcessRequest (HttpContext context) {
- context.Response.ContentType = "text/plain";
-
- string aa = context.Request.QueryString["lj"].ToString();
- if(new student.BLL.res_lj().Exists(aa))
- {
- aa="no";
- }
- else
- {
- aa = "ok";
- }
- context.Response.Write(aa);
- }
-
- public bool IsReusable {
- get {
- return false;
- }
- }
- }