public void Show(int id)
        {
            try
            {
                SPChannelWrapper obj = SPChannelWrapper.FindById(id);

                if (obj != null)
                {
                    obj.UpdateChannelDetailInfo();


                    this.winSPChannelView.Title = string.Format("通道“{0}”详细信息", obj.Name);

                    this.lblName.Text = ValueConvertUtil.ConvertStringValue(obj.Name);

                    this.lblChannelDetailInfo.Text = ValueConvertUtil.ConvertStringValue(obj.ChannelDetailInfo);

                    winSPChannelView.Show();
                }
                else
                {
                    ResourceManager.AjaxSuccess      = false;
                    ResourceManager.AjaxErrorMessage = "ErrorMessage:Data does not exist";
                    return;
                }
            }
            catch (Exception ex)
            {
                ResourceManager.AjaxSuccess      = false;
                ResourceManager.AjaxErrorMessage = "ErrorMessage:" + ex.Message;
                return;
            }
        }
        protected void Page_Load(object sender, EventArgs e)
        {
            if (X.IsAjaxRequest)
            {
                return;
            }

            SPChannelWrapper obj = ChannelID;

            if (obj != null)
            {
                obj.UpdateChannelDetailInfo();

                this.lblName.Text = ValueConvertUtil.ConvertStringValue(obj.Name);

                this.lblCode.Text = ValueConvertUtil.ConvertStringValue(obj.Code);

                this.lblChannelType.Text = obj.ChannelTypeName;

                this.lblStateReportType.Text = obj.StatusReportType;

                this.lblIsMonitorRequest.Text = obj.IsMonitorRequest.ToString();

                this.lblIsLogRequest.Text = obj.IsLogRequest.ToString();

                this.lblHasFilters.Text = obj.HasFilters.ToString();

                this.lblIsDisable.Text = obj.IsDisable.ToString();

                this.lblDefaultRate.Text = obj.DefaultRate.ToString();

                this.lblPrice.Text = obj.Price.ToString();

                this.lblChannelStatus.Text = obj.ChannelStatusName;

                this.lblUpper.Text = obj.UpperID_Name;

                this.lblChannelDetailInfo.Text = obj.ChannelDetailInfo;
            }
        }