Example #1
0
        /// <summary>
        /// 将数据源绑定到页面中
        /// </summary>
        public void BindDataSource()
        {
            string scroetypecode = "";

            if (m_scoretype != null)
            {
                scroetypecode = m_scoretype.Typecode;
                this.lookUpEditorType.CodeValue = m_scoretype.Typecode;
            }
            if (lookUpEditorType.CodeValue != "")
            {
                scroetypecode = lookUpEditorType.CodeValue;
            }

            this.gridControlScoreItem.DataSource = m_sqlManger.GetQCItemScore(scroetypecode);
        }