WEB/manager/help.aspx.cs
(开头部分) 7KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Text;
using shop.Model;
using shop.BLL;
using System.Data;
using Wuqi.Webdiyer;
public partial class back_stage_help : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
TreeView_load();
rData_bind();
if (Context.Items["path"] != null)
{
TreeNode node = TreeView1.FindNode(Context.Items["path"].ToString()) as TreeNode;
if (node != null && node.Parent != null)
{
node.Parent.Expanded = true;
node.Selected = true;
}
}
}
}
private void rData_bind()
{
StringBuilder where = new StringBuilder();
string title = Request.QueryString["title"];
string summary = Request.QueryString["summary"];
string keywords = Request.QueryString["keywords"];
string isShow = Request.QueryString["isShow"];
string beginDate = Request.QueryString["beginDate"];
string endDate = Request.QueryString["endDate"];
string categoryId = Request.QueryString["categoryId"];
DataRecordTable table = null;
where.Append("is_delete=0");
if (!string.IsNullOrEmpty(title))
where.Append(" and title like '%" + title + "%'");
if (!string.IsNullOrEmpty(keywords))
where.Append(" and keywords like '%" + keywords + "%'");
if (!string.IsNullOrEmpty(summary))
where.Append(" and summary like '%" + summary + "%'");
if (!string.IsNullOrEmpty(isShow))
where.Append(" and is_show=" + isShow + "");
if (!string.IsNullOrEmpty(beginDate))
where.Append(" and create_date>'" + beginDate + "'");
if (!string.IsNullOrEmpty(endDate))
where.Append(" and create_date<'" + endDate + "'");
if (string.IsNullOrEmpty(categoryId))
categoryId = "3";
后面还有 131 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读 AI
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
