Help.Web/Admin/Think.aspx.cs

(开头部分) 6KB

这里只显示每个文件的开头 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;

public partial class Admin_Think : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        LoginCheck.Check();
        Response.CacheControl = "no-cache";
        if (!Page.IsPostBack)
        {
            Help.BLL.Help h = new Help.BLL.Help();
            CopyrightInfo.InnerHtml = h.getCopyRight();
            getClasslist(h.Info(null), "0", 0);
        }
        Op();
        getThinklist();
    }


    protected void getThinklist()
    {
        string classid = Request.QueryString["ClassID"];
        string type = Request.QueryString["Type"];

        ClassID.Text = classid;
        Type.Text = type;

        Help.BLL.Help h = new Help.BLL.Help();
        DataTable dt = h.getThinklist(classid,type);
        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=\"30%\">所属帮助</td>";
        str_Temp += "<td align=\"center\" class=\"xingmu\" width=\"50%\">内容</td>";
        str_Temp += "<td align=\"center\" class=\"xingmu\" width=\"10%\">类型</td>";
        str_Temp += "<td align=\"center\" class=\"xingmu\"  width=\"10%\">操作 <input type=\"checkbox\" name=\"Num\" value=\"'-1'\"  onclick=\"javascript:selectAll(this.form,this.checked)\" class=\"form\" /></td>";
        str_Temp += "</tr>";
        if (dt != null)
        {
            string curPage = Request.QueryString["page"];    //当前页码
            int pageSize = 15, page = 0;                     //每页显示数

            int i, j;
            int Cnt = dt.Rows.Count;
后面还有 106 行代码,解锁后查看完整代码

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

AI 解读

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

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