Web/Managers/service/service_admin.aspx.cs
(开头部分) 4KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Bll;
using Model;
using Common;
namespace Web.Managers.basemanage
{
public partial class service_admin : Web.Managers.MasterPage
{
BService ibp = new BService();
protected void Page_Load(object sender, EventArgs e)
{
ltname.Text = base.MenuName+"客服管理";
if (!base.IsPostBack)
{
binddata();
}
}
private void binddata()
{
int rCount;
rptpro.DataSource = ibp.GetList(AspNetPager1.CurrentPageIndex, AspNetPager1.PageSize, string.Empty,out rCount);
rptpro.DataBind();
AspNetPager1.RecordCount = rCount;
}
protected void ltedit_Click(object sender, EventArgs e)
{
int m = 0;
string id = string.Empty;
for (int i = 0; i < rptpro.Items.Count; i++)
{
CheckBox cb = (CheckBox)rptpro.Items[i].FindControl("cbid");
if (cb.Checked)
{
m++;
id = cb.ToolTip;
}
}
switch (m)
{
后面还有 85 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
