Snailsoft.CRM.Web/Archive/Linkman/LinkmanList.aspx.cs

(开头部分) 8KB

这里只显示每个文件的开头 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.Linkman {
    /// <summary>
    /// LinkmanList 的摘要说明。
    /// </summary>
    public class LinkmanList : BasePage {
        protected System.Web.UI.WebControls.Button btnAdd;
        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.TextBox txtParamstr;
        //导航控件
        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()");

            //导航控件
            ucNavigation.AddNavigation("客户列表", "../Input/customerList.aspx");
            ucNavigation.AddNavigation("联系人列表", null);

            ParamValue = UnPackPart(txtParamstr.Text);
        }

        private DataTable getData () {
            LinkmanBN bn = new LinkmanBN(Page);
            bn.QueryLegal();
            bn.QueryPerson(this.SessionUID);
            bn.QuerylinkName(GetValue("linkName"));
            bn.QueryLinkAddr(GetValue("linkAddr"));
            bn.QueryLinkScore(Convert.ToInt32(GetValue("linkScore")));
            if (GetValue("type") != null) {
后面还有 136 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。