Help.Web/Admin/Admin.aspx.cs

(开头部分) 4KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

//===========================================================
//==                (c)2007 24xN Inc.                      ==
//==         QQ:6458450,Email:qwsf01115@163.com            ==
//==               Site:http://www.24xn.com                ==
//==               论坛:http://bbs.24xn.com                ==
//==                  Code By Xi.Deng                      ==
//==                     版权所有                          ==
//===========================================================
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using Help.BLL;

public partial class Admin_Admin : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        LoginCheck.Check();
        Response.CacheControl = "no-cache";
        if (!Page.IsPostBack)
        {
            getAdminlist();
            Help.BLL.Help h = new Help.BLL.Help();
            CopyrightInfo.InnerHtml = h.getCopyRight();
        }
        string Action = Request.QueryString["Action"];
        string ID = Request.QueryString["ID"];
        if (Action == "Del")
        {
            if (ID != "")
            {
                DelAdmin(ID);
            }
        }
    }

    protected void getAdminlist()
    {
        Help.BLL.Help h = new Help.BLL.Help();
        DataTable dt = h.getAdminlist();
        string str_Temp = "<table width=\"98%\" border=\"0\" align=\"center\" cellpadding=\"5\" cellspacing=\"1\" class=\"table\">";
        str_Temp += "<tr class=\"hback\">";
        str_Temp += "<td align=\"center\" class=\"xingmu\" width=\"10%\">编号</td>";
        str_Temp += "<td align=\"center\" class=\"xingmu\" width=\"50%\">帐号</td>";
        str_Temp += "<td align=\"center\" class=\"xingmu\" width=\"18%\">添加时间</td>";
        str_Temp += "<td align=\"center\" class=\"xingmu\"  width=\"25%\">操作</td>";
        str_Temp += "</tr>";
        if (dt != null)
        {
            string curPage = Request.QueryString["page"];    //当前页码
            int pageSize = 15, page = 0;                     //每页显示数

            int i, j;
后面还有 46 行代码,解锁后查看完整代码

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

AI 解读

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

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