示例#1
0
        protected virtual void NodeClick(object sender, EventArgs e)
        {
            #region 获取Node明细

            string cEQCCode = (sender as Node).Name;

            strWheres = new string[]
            {
                "cEQCCode like @cEQCCode + '%'"
            };

            paramList = new { cEQCCode = cEQCCode };

            EqList = dal.GetList(strWheres, paramList);

            UIRefresh();

            #endregion
        }
示例#2
0
        protected virtual void NodeClick(object sender, EventArgs e)
        {
            #region 获取Node明细

            string cEQCCode = (sender as Node).Name;

            strWheres = new string[]
            {
                "cEQCCode like @cEQCCode + '%'"
            };

            this.paramList = new { @cEQCCode = cEQCCode };

            this.EqList = dal.GetList(strWheres, paramList);

            if (EqList.Count > 0)
            {
                this.currentEQ = EqList[0];
            }

            UIRefresh();

            #endregion
        }