Web/Admin/Service/DeliverGroupList.aspx.cs
(开头部分) 4KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
/*********************************************************************
* CopyRight (c) 2009-2010 HangJing Teconology. All Rights Reserved.
Admin_shop_shopdatalist
* Function :
* at 2011-1-10 15:02:03.
*********************************************************************/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using WMPT.SQLServerDAL;
using WMPT.Common;
using WMPT.Model;
public partial class qy_54tss_Admin_active_DeliverGroupList : System.Web.UI.Page
{
DeliverGroup dal = new DeliverGroup();
protected string SqlWhere
{
get
{
return (ViewState["sqlWhere"] == null) ? "" : ViewState["sqlWhere"].ToString();
}
set
{
ViewState["sqlWhere"] = value;
}
}
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
SqlWhere = "1=1 and parentid = 0";
WebUtility.SetDDLCity(DDLArea);
WebUtility.SetDDLCity(ddlcity);
getItem();
}
}
protected void getItem()
{
AspNetPager1.RecordCount = dal.GetCount(SqlWhere);
rptsubItem.DataSource = dal.GetList(AspNetPager1.PageSize, AspNetPager1.CurrentPageIndex, SqlWhere, "status desc,priority", 1);
rptsubItem.DataBind();
AlertScript.RegScript(this.Page, this.UpdatePanel1, "init();");
SectionProxyData.ClearEdelivergroupList();
}
protected void GridView1_RowCommand(object sender, GridViewCommandEventArgs e)
{
if (e.CommandName == "del")
{
if (dal.DelList(e.CommandArgument.ToString()) > 0)
后面还有 85 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
