WebUI/KaoShengManage/DeleteKaoShengInfo.ashx

(完整代码) 858B

<%@ WebHandler Language="C#" Class="DeleteKaoShengInfo" %>

using System;
using System.Web;
using System.Data;
using BLL;
using Model;
public class DeleteKaoShengInfo : IHttpHandler {
    
    public void ProcessRequest (HttpContext context) {
        string strCode = context.Request.QueryString["code"];
        context.Response.ContentType = "text/plain";
        context.Response.Write(deleteKaoShengInfo(strCode));//删除操作 strCode表示删除的考生准考证号。
    }
    public string deleteKaoShengInfo(string strCode)
    {
        int result = KaoShengBLL.deleteKaoShengInfo(strCode);
        if (result > 0)
        {
            return "0";
        }
        else
        {
            return "1";
        }
    }
    public bool IsReusable {
        get {
            return false;
        }
    }

}

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。