Snailsoft.CRM.Web/Archive/Input/CustomerManage/AllCustomerList.aspx.cs
(开头部分) 10KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using Snailsoft.Utils;
using Snailsoft.Common.Database;
using Snailsoft.CRM.DB.Data;
using Snailsoft.CRM.Business;
namespace Snailsoft.CRM.Web.Archive.Input.CustomerManage {
/// <summary>
/// AllCustomerList 的摘要说明。
/// </summary>
public class AllCustomerList : BasePage {
protected System.Web.UI.WebControls.TextBox txtParamstr;
protected System.Web.UI.WebControls.Button btnEdit;
protected System.Web.UI.WebControls.Button btnDelete;
protected System.Web.UI.WebControls.Button btnQuery;
protected Snailsoft.UI.WebControls.DataGridTable dgdList;
protected System.Web.UI.WebControls.Button btnChange;
protected System.Web.UI.HtmlControls.HtmlInputHidden changeToPerson;
protected System.Web.UI.WebControls.Button btnCheckSame;
//导航控件
protected Snailsoft.CRM.Web.Include.Navigation ucNavigation;
private void Page_Load(object sender, System.EventArgs e) {
if (!IsPostBack) {
//保存传递的参数
ParamValue = UnPack();
txtParamstr.Text = PackPart(ParamValue);
//设置分页
string pageno = GetValue("pageno");
if (pageno != null) {
dgdList.CurrentPageIndex = Convert.ToInt32(pageno) - 1;
}
dgdList.DataBind();
}
this.btnDelete.Attributes.Add("OnClick","return checkDelete()");
this.btnEdit.Attributes.Add("OnClick","return checkEdit()");
this.btnChange.Attributes.Add("OnClick","return changePerson()");
//导航控件
ucNavigation.AddNavigation("客户自定义", "../../../Setting/Customer/CusDefList.aspx");
ucNavigation.AddNavigation("客户分组", "../../customerGroup/cusGroupList.aspx");
ucNavigation.AddNavigation("客户列表", null);
ParamValue = UnPackPart(txtParamstr.Text);
}
private DataTable getData () {
CustomerBN bn = new CustomerBN(Page);
string allProducts = "";
string[] allProductsArray = null;
后面还有 183 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
