Web/Admin/manage/PptList.aspx.cs
(开头部分) 2KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
/*********************************************************************
* CopyRight (c) 2009-2010 HangJing Teconology. All Rights Reserved.
Admin_PptList.aspx.cs
* Function : ppt列表
* at 2010-8-21 14:41:01.
*********************************************************************/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using WMPT.Model;
using WMPT.SQLServerDAL;
using WMPT.Common;
public partial class Admin_PptList : System.Web.UI.Page
{
PPT bll = new PPT();
private string SqlWhere
{
get
{
object o = ViewState["SqlWhere"];
return (o == null) ? string.Empty : o.ToString();
}
set
{
ViewState["SqlWhere"] = value;
}
}
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
SqlWhere = " 1= 1";
BindData();
}
}
protected void BindData()
{
this.rtpTogolist.DataSource = bll.GetList(AspNetPager1.PageSize, AspNetPager1.CurrentPageIndex, SqlWhere, "reve1", 1);
this.rtpTogolist.DataBind();
AlertScript.AjaxRegisterScript("init();", UpdatePanel1);
}
protected void DelList_Click(object sender, EventArgs e)
{
//判断权限
int _rs = WebUtility.checkOperator(4);
if (_rs == 0)
{
AlertScript.RegScript(this.Page, this.UpdatePanel1, "alert('无操作权限','success','true',5);init();");
return;
后面还有 34 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
