Help.Web/Help_Ajax.aspx.cs
(开头部分) 3KB这里只显示每个文件的开头 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 Help_Ajax : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
Response.CacheControl = "no-cache";
string ParentID = Help.Common.Public.Filter(Request.QueryString["ParentId"]);
getAjaxList(ParentID);
}
protected void getAjaxList(string parentid)
{
string str_Temp = "";
string str_Temp1 = "";
if (parentid == "" || parentid == null || parentid == string.Empty)
parentid = "0";
Help.BLL.Help h = new Help.BLL.Help();
DataTable dt = h.getAjaxList(parentid);
bool tf = true;
if (dt != null)
{
try
{
for (int i = 0; i < dt.Rows.Count; i++)
{
if (int.Parse(dt.Rows[i]["HasSub"].ToString()) > 0)
{
str_Temp += "<div><img src=\"image/+.gif\" alt=\"点击展开子栏目\" width=\"15\" " +
"height=\"14\" border=\"0\" class=\"LableItem\" " +
"onClick=\"javascript:SwitchImg(this,'"+
"" + dt.Rows[i]["ClassID"].ToString() + "');\" " +
" /><span id=\"" + dt.Rows[i]["ClassID"].ToString() + "\" " +
" onDblClick=\"SubmitLable(this);\" class=\"LableItem\"" +
" onClick=\"SelectLable(this)\"> <a href=\"Right.Html?ClassID=" +
"" + dt.Rows[i]["ClassID"].ToString() + "\" target=\"RightFrame\">" +
"" + dt.Rows[i]["Title"].ToString() + "</a></span>" +
"<div id=Parent" + dt.Rows[i]["ClassID"].ToString() + " "+
"class=SubItem HasSub=True style=\"display:none;\"></div></div>";
}
else
{
str_Temp += "<div><img src=image/none.gif alt=没有子栏目 width=15 height=14 border=0" +
" class=LableItem /><span id=" + dt.Rows[i]["ClassID"].ToString() + " " +
后面还有 22 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
