Exemple #1
0
        /// <summary>
        /// 绑定位置
        /// </summary>
        public void LoadPosition()
        {
            if (!string.IsNullOrEmpty(InfoCategoryID) && (InfoCategoryID.ToString() != "0" || InfoCategoryID.ToString() == "0"))
            {
                LoadInfo(InfoCategoryID);
            }
            else if (string.IsNullOrEmpty(InfoCategoryID) && InfoID.ToString() != "0")
            {
                List <WebInfoEntity> infoEntity = WebInfoLogic.GetWebInfoEntityByInfoID(InfoID);

                InfoCategoryID = ConvertHelper.ConvertString(infoEntity[0].InfoCategoryID);

                LoadInfo(InfoCategoryID);
            }
        }