コード例 #1
0
        public void Show(int id)
        {
            try
            {
                SystemRoleWrapper obj = SystemRoleWrapper.FindById(id);

                if (obj != null)
                {
                    this.txtRoleName.Text            = obj.RoleName;
                    this.txtRoleDescription.Text     = obj.RoleDescription;
                    this.txtRoleCode.Text            = obj.RoleCode;
                    this.chkRoleIsSystemRole.Checked = ValueConvertUtil.ConvertNullableValue <bool>(obj.RoleIsSystemRole);



                    hidSystemRoleID.Text = id.ToString();


                    winSystemRoleEdit.Show();
                }
                else
                {
                    ResourceManager.AjaxSuccess      = false;
                    ResourceManager.AjaxErrorMessage = "错误信息:数据不存在";
                    return;
                }
            }
            catch (Exception ex)
            {
                ResourceManager.AjaxSuccess      = false;
                ResourceManager.AjaxErrorMessage = string.Format(this.GetGlobalResourceObject("GlobalResource", "msgServerErrorMsg").ToString(), ex.Message);
                return;
            }
        }
        public void Show(int id)
        {
            try
            {
                SystemDictionaryGroupWrapper obj = SystemDictionaryGroupWrapper.FindById(id);

                if (obj != null)
                {
                    this.txtName.Text        = ValueConvertUtil.ConvertStringValue(obj.Name);
                    this.txtCode.Text        = ValueConvertUtil.ConvertStringValue(obj.Code);
                    this.txtDescription.Text = ValueConvertUtil.ConvertStringValue(obj.Description);
                    this.chkIsEnable.Checked = ValueConvertUtil.ConvertNullableValue <bool>(obj.IsEnable);
                    this.chkIsSystem.Checked = ValueConvertUtil.ConvertNullableValue <bool>(obj.IsSystem);



                    hidId.Text = id.ToString();


                    winSystemDictionaryGroupEdit.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;
            }
        }
コード例 #3
0
        public void Show(int id)
        {
            try
            {
                SystemDictionaryWrapper obj = SystemDictionaryWrapper.FindById(id);

                if (obj != null)
                {
                    this.txtSystemDictionaryCategoryID.Text  = obj.SystemDictionaryCategoryID.ToString();
                    this.txtSystemDictionaryKey.Text         = obj.SystemDictionaryKey.ToString();
                    this.txtSystemDictionaryValue.Text       = obj.SystemDictionaryValue.ToString();
                    this.txtSystemDictionaryDesciption.Text  = obj.SystemDictionaryDesciption.ToString();
                    this.txtSystemDictionaryOrder.Text       = obj.SystemDictionaryOrder.ToString();
                    this.chkSystemDictionaryIsEnable.Checked = ValueConvertUtil.ConvertNullableValue <bool>(obj.SystemDictionaryIsEnable);


                    hidSystemDictionaryID.Text = id.ToString();
                    winSystemDictionaryEdit.Show();
                }
                else
                {
                    ResourceManager.AjaxSuccess      = false;
                    ResourceManager.AjaxErrorMessage = "错误信息:数据不存在!";
                    return;
                }
            }
            catch (Exception ex)
            {
                ResourceManager.AjaxSuccess      = false;
                ResourceManager.AjaxErrorMessage = "错误信息:" + ex.Message;
                return;
            }
        }
コード例 #4
0
        public void Show(int id)
        {
            try
            {
                SystemRoleWrapper obj = SystemRoleWrapper.FindById(id);

                if (obj != null)
                {
                    this.txtRoleName.Text            = obj.RoleName.ToString();
                    this.txtRoleDescription.Text     = obj.RoleDescription.ToString();
                    this.chkRoleIsSystemRole.Checked = ValueConvertUtil.ConvertNullableValue <bool>(obj.RoleIsSystemRole);



                    hidSystemRoleID.Text = id.ToString();


                    winSystemRoleEdit.Show();
                }
                else
                {
                    ResourceManager.AjaxSuccess      = false;
                    ResourceManager.AjaxErrorMessage = "错误信息:数据不存在";
                    return;
                }
            }
            catch (Exception ex)
            {
                ResourceManager.AjaxSuccess      = false;
                ResourceManager.AjaxErrorMessage = "错误信息:" + ex.Message;
                return;
            }
        }
コード例 #5
0
        public void Show(int id)
        {
            try
            {
                SPChannelWrapper obj = SPChannelWrapper.FindById(id);

                if (obj != null)
                {
                    this.txtName.Text        = ValueConvertUtil.ConvertStringValue(obj.Name);
                    this.txtDescription.Text = ValueConvertUtil.ConvertStringValue(obj.Description);
                    this.txtCode.Text        = ValueConvertUtil.ConvertStringValue(obj.Code);
                    //this.txtRecievedName.Text = ValueConvertUtil.ConvertStringValue(obj.RecievedName);
                    //this.chkIsAllowNullLinkID.Checked = ValueConvertUtil.ConvertNullableValue<bool>(obj.IsAllowNullLinkID);
                    //this.chkIsMonitorRequest.Checked = ValueConvertUtil.ConvertNullableValue<bool>(obj.IsMonitorRequest);
                    //this.chkIsDisable.Checked = ValueConvertUtil.ConvertNullableValue<bool>(obj.IsDisable);
                    //this.txtDataOkMessage.Text = ValueConvertUtil.ConvertStringValue(obj.DataOkMessage);
                    //this.txtDataFailedMessage.Text = ValueConvertUtil.ConvertStringValue(obj.DataFailedMessage);
                    //this.txtReportOkMessage.Text = ValueConvertUtil.ConvertStringValue(obj.ReportOkMessage);
                    //this.txtReportFailedMessage.Text = ValueConvertUtil.ConvertStringValue(obj.ReportFailedMessage);
                    //this.chkStatSendOnce.Checked = ValueConvertUtil.ConvertNullableValue<bool>(obj.StatSendOnce);
                    //this.chkTypeRequest.Checked = ValueConvertUtil.ConvertNullableValue<bool>(obj.TypeRequest);
                    //this.txtDataParamName.Text = ValueConvertUtil.ConvertStringValue(obj.DataParamName);
                    //this.txtDataParamValue.Text = ValueConvertUtil.ConvertStringValue(obj.DataParamValue);
                    //this.txtReportParamName.Text = ValueConvertUtil.ConvertStringValue(obj.ReportParamName);
                    //this.txtReportParamValue.Text = ValueConvertUtil.ConvertStringValue(obj.ReportParamValue);
                    //this.chkHasFilters.Checked = ValueConvertUtil.ConvertNullableValue<bool>(obj.HasFilters);
                    //this.txtStatusParamName.Text = ValueConvertUtil.ConvertStringValue(obj.StatusParamName);
                    //this.txtStatusParamValue.Text = ValueConvertUtil.ConvertStringValue(obj.StatusParamValue);
                    //this.txtPrice.Text = obj.Price.ToString();
                    //this.txtDefaultRate.Text = obj.DefaultRate.ToString();
                    //this.chkHasStatReport.Checked = ValueConvertUtil.ConvertNullableValue<bool>(obj.HasStatReport);
                    this.txtChannelDetailInfo.Text = ValueConvertUtil.ConvertStringValue(obj.ChannelDetailInfo);
                    //this.ddlUpperID.SelectedValue = obj.UpperID.ToString();

                    this.chkIsLogRequest.Checked = ValueConvertUtil.ConvertNullableValue <bool>(obj.IsLogRequest);



                    hidId.Text = id.ToString();


                    winSPChannelEdit.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;
            }
        }
        public void Show(int id)
        {
            try
            {
                SPClientCodeRelationWrapper obj = SPClientCodeRelationWrapper.FindById(id);

                if (obj != null)
                {
                    this.txtChannelID.Text             = obj.CodeID_ChannelID.Name;
                    this.txtCodeID.Text                = obj.CodeID.MoCode;
                    this.txtPrice.Text                 = obj.Price.ToString();
                    this.txtInterceptRate.Text         = obj.InterceptRate.ToString();
                    this.txtSycnNotInterceptCount.Text = obj.SycnNotInterceptCount.ToString();

                    this.chkSyncData.Checked = ValueConvertUtil.ConvertNullableValue <bool>(obj.SyncData);

                    this.txtSycnRetryTimes.Text = ValueConvertUtil.ConvertStringValue(obj.SycnRetryTimes);

                    if (obj.SyncDataSetting != null)
                    {
                        this.txtSycnDataUrl.Text       = ValueConvertUtil.ConvertStringValue(obj.SyncDataSetting.SycnMOUrl);
                        this.txtSycnOkMessage.Text     = ValueConvertUtil.ConvertStringValue(obj.SyncDataSetting.SycnMOOkMessage);
                        this.txtSycnFailedMessage.Text = ValueConvertUtil.ConvertStringValue(obj.SyncDataSetting.SycnMOFailedMessage);
                    }
                    else
                    {
                        this.txtSycnDataUrl.Text       = "";
                        this.txtSycnOkMessage.Text     = "";
                        this.txtSycnFailedMessage.Text = "";
                    }



                    hidId.Text = id.ToString();


                    winSPClientCodeRelationEdit.Show();
                }
                else
                {
                    ResourceManager.AjaxSuccess      = false;
                    ResourceManager.AjaxErrorMessage = "错误信息:数据不存在!";
                    return;
                }
            }
            catch (Exception ex)
            {
                ResourceManager.AjaxSuccess      = false;
                ResourceManager.AjaxErrorMessage = "错误信息:" + ex.Message;
                return;
            }
        }
コード例 #7
0
        public static void LogOpOther(WrapperType auditableData)
        {
            try
            {
                SystemVersionWrapper systemVersion = null;

                if (systemVersion == null)
                {
                    systemVersion = SaveNewVersion(auditableData);
                }

                SystemLogWrapper log = new SystemLogWrapper();
                log.LogDate = ValueConvertUtil.ConvertNullableValue(auditableData.GetDataLastModifyAt(), System.DateTime.Now);

                SystemUserWrapper opUser = null;

                if (auditableData.GetDataLastModifyBy().HasValue)
                {
                    opUser = SystemUserWrapper.FindById(auditableData.GetDataLastModifyBy().Value);
                }

                log.LogDescrption = auditableData.GetDataLastModifyComment();

                log.LogLevel          = SystemLogWrapper.SysteLogLevel.Info;
                log.LogRelateDateTime = auditableData.GetDataLastModifyAt();
                log.LogRelateUserID   = auditableData.GetDataLastModifyBy();

                if (opUser != null)
                {
                    log.LogRelateUserName = opUser.UserLoginID;
                }
                else
                {
                    log.LogRelateUserName = "";
                }

                log.ParentDataType = auditableData.GetType().ToString();
                log.ParentDataID   = auditableData.GetDataLastModifyBy();
                log.LogSource      = "Operation";
                log.LogType        = SystemLogWrapper.SysteLogType.OperationLog;

                SystemLogWrapper.Save(log);
            }
            catch (Exception ex)
            {
                logger.Error(ex.Message);
            }
        }
コード例 #8
0
        public void Show(int id)
        {
            try
            {
                SystemOperationWrapper obj = SystemOperationWrapper.FindById(id);

                if (obj != null)
                {
                    this.txtOperationNameCn.Text         = ValueConvertUtil.ConvertStringValue(obj.OperationNameCn);
                    this.txtOperationNameEn.Text         = ValueConvertUtil.ConvertStringValue(obj.OperationNameEn);
                    this.txtOperationDescription.Text    = ValueConvertUtil.ConvertStringValue(obj.OperationDescription);
                    this.chkIsSystemOperation.Checked    = obj.IsSystemOperation;
                    this.chkIsCanSingleOperation.Checked = obj.IsCanSingleOperation;
                    this.chkIsCanMutilOperation.Checked  = obj.IsCanMutilOperation;
                    this.chkIsEnable.Checked             = obj.IsEnable;
                    this.chkIsInListPage.Checked         = obj.IsInListPage;
                    this.chkIsInSinglePage.Checked       = obj.IsInSinglePage;
                    this.txtOperationOrder.Text          = obj.OperationOrder.ToString();
                    this.chkIsCommonOperation.Checked    = ValueConvertUtil.ConvertNullableValue <bool>(obj.IsCommonOperation);

                    if (obj.ResourceID != null)
                    {
                        this.txtResourceName.Text = obj.ResourceID.ResourcesNameCn;
                    }

                    hidOperationID.Text = id.ToString();


                    winSystemOperationEdit.Show();
                }
                else
                {
                    ResourceManager.AjaxSuccess      = false;
                    ResourceManager.AjaxErrorMessage = "Error Message : Data does not exist";
                    return;
                }
            }
            catch (Exception ex)
            {
                ResourceManager.AjaxSuccess      = false;
                ResourceManager.AjaxErrorMessage = "Error Message : " + ex.Message;
                return;
            }
        }
        public void Show(int id)
        {
            try
            {
                SystemEmailSettingsWrapper obj = SystemEmailSettingsWrapper.FindById(id);

                if (obj != null)
                {
                    this.lblName.Text          = ValueConvertUtil.ConvertStringValue(obj.Name);
                    this.lblDescriprsion.Text  = ValueConvertUtil.ConvertStringValue(obj.Descriprsion);
                    this.lblHost.Text          = ValueConvertUtil.ConvertStringValue(obj.Host);
                    this.lblPort.Text          = ValueConvertUtil.ConvertStringValue(obj.Port);
                    this.lblSSL.Text           = ValueConvertUtil.ConvertNullableValue <bool>(obj.Ssl).ToString();
                    this.lblFromEmail.Text     = ValueConvertUtil.ConvertStringValue(obj.FromEmail);
                    this.lblFromName.Text      = ValueConvertUtil.ConvertStringValue(obj.FromName);
                    this.lblLoginEmail.Text    = ValueConvertUtil.ConvertStringValue(obj.LoginEmail);
                    this.lblLoginPassword.Text = ValueConvertUtil.ConvertStringValue(obj.LoginPassword);
                    this.lblIsEnable.Text      = ValueConvertUtil.ConvertNullableValue <bool>(obj.IsEnable).ToString();
                    this.lblIsDefault.Text     = ValueConvertUtil.ConvertNullableValue <bool>(obj.IsDefault).ToString();
                    //this.lblCreateDate.Text = obj.CreateDate.ToString();
                    this.lblCreateBy.Text = obj.CreateBy.ToString();



                    //hidLogID.Text = id.ToString();


                    winSystemEmailSettingsView.Show();
                }
                else
                {
                    ResourceManager.AjaxSuccess      = false;
                    ResourceManager.AjaxErrorMessage = "Error Message : Data does not exist";
                    return;
                }
            }
            catch (Exception ex)
            {
                ResourceManager.AjaxSuccess      = false;
                ResourceManager.AjaxErrorMessage = "Error Message : " + ex.Message;
                return;
            }
        }
        public void Show(int id)
        {
            try
            {
                SystemEmailSettingsWrapper obj = SystemEmailSettingsWrapper.FindById(id);

                if (obj != null)
                {
                    this.txtName.Text          = ValueConvertUtil.ConvertStringValue(obj.Name);
                    this.txtCode.Text          = obj.Code;
                    this.txtDescriprsion.Text  = ValueConvertUtil.ConvertStringValue(obj.Descriprsion);
                    this.txtHost.Text          = ValueConvertUtil.ConvertStringValue(obj.Host);
                    this.txtPort.Text          = ValueConvertUtil.ConvertStringValue(obj.Port);
                    this.chkSSL.Checked        = ValueConvertUtil.ConvertNullableValue <bool>(obj.Ssl);
                    this.txtFromEmail.Text     = ValueConvertUtil.ConvertStringValue(obj.FromEmail);
                    this.txtFromName.Text      = ValueConvertUtil.ConvertStringValue(obj.FromName);
                    this.txtLoginEmail.Text    = ValueConvertUtil.ConvertStringValue(obj.LoginEmail);
                    this.txtLoginPassword.Text = ValueConvertUtil.ConvertStringValue(obj.LoginPassword);
                    this.chkIsEnable.Checked   = ValueConvertUtil.ConvertNullableValue <bool>(obj.IsEnable);
                    this.chkIsDefault.Checked  = ValueConvertUtil.ConvertNullableValue <bool>(obj.IsDefault);



                    hidEmailSettingID.Text = id.ToString();


                    winSystemEmailSettingsEdit.Show();
                }
                else
                {
                    ResourceManager.AjaxSuccess      = false;
                    ResourceManager.AjaxErrorMessage = "Error Message : Data does not exist";
                    return;
                }
            }
            catch (Exception ex)
            {
                ResourceManager.AjaxSuccess      = false;
                ResourceManager.AjaxErrorMessage = "Error Message : " + ex.Message;
                return;
            }
        }
コード例 #11
0
        public void Show(int id)
        {
            try
            {
                SPChannelParamsWrapper obj = SPChannelParamsWrapper.FindById(id);

                if (obj != null)
                {
                    this.txtName.Text          = ValueConvertUtil.ConvertStringValue(obj.Name);
                    this.txtDescription.Text   = ValueConvertUtil.ConvertStringValue(obj.Description);
                    this.chkIsEnable.Checked   = ValueConvertUtil.ConvertNullableValue <bool>(obj.IsEnable);
                    this.chkIsRequired.Checked = ValueConvertUtil.ConvertNullableValue <bool>(obj.IsRequired);

                    this.txtTitle.Text = ValueConvertUtil.ConvertStringValue(obj.Title);
                    this.chkShowInClientGrid.Checked = ValueConvertUtil.ConvertNullableValue <bool>(obj.ShowInClientGrid);
                    this.txtParamsValue.Text         = ValueConvertUtil.ConvertStringValue(obj.ParamsValue);

                    this.cmbChannelParamsType.SetValue(obj.ParamsType);
                    this.cmbParamsMappingName.SetValue(obj.ParamsMappingName);


                    hidId.Text = id.ToString();


                    winSPChannelParamsEdit.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;
            }
        }
コード例 #12
0
        public void Show(int id)
        {
            try
            {
                SPChannelParamsWrapper obj = SPChannelParamsWrapper.FindById(id);

                if (obj != null)
                {
                    this.hidId.Value           = obj.Id.ToString();
                    this.txtName.Text          = obj.Name.ToString();
                    this.txtDescription.Text   = obj.Description.ToString();
                    this.chkIsEnable.Checked   = ValueConvertUtil.ConvertNullableValue <bool>(obj.IsEnable);
                    this.chkIsRequired.Checked = ValueConvertUtil.ConvertNullableValue <bool>(obj.IsRequired);
                    this.cmbParamsType.SetValue(obj.ParamsType.ToString());
                    this.lblChannelName.Text = obj.ChannelID.Name.ToString();
                    this.cmbParamsMappingName.SetValue(obj.ParamsMappingName.ToString());
                    this.txtTitle.Text = obj.Title;
                    this.chkShowInClientGrid.Checked = ValueConvertUtil.ConvertNullableValue <bool>(obj.ShowInClientGrid);


                    hidId.Text = id.ToString();


                    winSPChannelParamsEdit.Show();
                }
                else
                {
                    ScriptManager.AjaxSuccess      = false;
                    ScriptManager.AjaxErrorMessage = "错误信息:数据不存在";
                    return;
                }
            }
            catch (Exception ex)
            {
                Coolite.Ext.Web.ScriptManager.AjaxSuccess      = false;
                Coolite.Ext.Web.ScriptManager.AjaxErrorMessage = "错误信息:" + ex.Message;
                return;
            }
        }
コード例 #13
0
        public void Show(int id)
        {
            try
            {
                SPChannelSycnParamsWrapper obj = SPChannelSycnParamsWrapper.FindById(id);

                if (obj != null)
                {
                    this.lblName.Text          = ValueConvertUtil.ConvertStringValue(obj.Name);
                    this.lblDescription.Text   = ValueConvertUtil.ConvertStringValue(obj.Description);
                    this.lblIsEnable.Text      = ValueConvertUtil.ConvertNullableValue <bool>(obj.IsEnable).ToString();
                    this.lblChannelID.Text     = obj.ChannelID.ToString();
                    this.lblMappingParams.Text = ValueConvertUtil.ConvertStringValue(obj.MappingParams);
                    this.lblTitle.Text         = ValueConvertUtil.ConvertStringValue(obj.Title);
                    this.lblParamsValue.Text   = ValueConvertUtil.ConvertStringValue(obj.ParamsValue);
                    this.lblParamsType.Text    = ValueConvertUtil.ConvertStringValue(obj.ParamsType);



                    //hidLogID.Text = id.ToString();


                    winSPChannelSycnParamsView.Show();
                }
                else
                {
                    ResourceManager.AjaxSuccess      = false;
                    ResourceManager.AjaxErrorMessage = "ErrorMessage:Data does not exist";
                    return;
                }
            }
            catch (Exception ex)
            {
                ResourceManager.AjaxSuccess      = false;
                ResourceManager.AjaxErrorMessage = "Error Message:" + ex.Message;
                return;
            }
        }
        public void Show(int id)
        {
            try
            {
                SystemEmailTemplateWrapper obj = SystemEmailTemplateWrapper.FindById(id);

                if (obj != null)
                {
                    this.lblName.Text        = ValueConvertUtil.ConvertStringValue(obj.Name);
                    this.lblCode.Text        = ValueConvertUtil.ConvertStringValue(obj.Code);
                    this.lblDescription.Text = ValueConvertUtil.ConvertStringValue(obj.Description);

                    this.lblTitleTemplate.Text = ValueConvertUtil.ConvertStringValue(obj.TitleTemplate);
                    this.lblBodyTemplate.Text  = ValueConvertUtil.ConvertStringValue(obj.BodyTemplate);
                    this.lblIsHtmlEmail.Text   = ValueConvertUtil.ConvertNullableValue <bool>(obj.IsHtmlEmail).ToString();
                    this.lblIsEnable.Text      = ValueConvertUtil.ConvertNullableValue <bool>(obj.IsEnable).ToString();


                    //hidLogID.Text = id.ToString();


                    winSystemEmailTemplateView.Show();
                }
                else
                {
                    ResourceManager.AjaxSuccess      = false;
                    ResourceManager.AjaxErrorMessage = "Error Message :Data does not exist";
                    return;
                }
            }
            catch (Exception ex)
            {
                ResourceManager.AjaxSuccess      = false;
                ResourceManager.AjaxErrorMessage = "Error Message : " + ex.Message;
                return;
            }
        }
コード例 #15
0
        public void Show(int id)
        {
            try
            {
                SystemOrganizationWrapper obj = SystemOrganizationWrapper.FindById(id);

                if (obj != null)
                {
                    if (obj.ParentID == null)
                    {
                        this.lblParentOrgName.Text = "As root org";
                    }
                    else
                    {
                        this.lblParentOrgName.Text =
                            obj.ParentID.Name;
                    }



                    this.txtName.Text                  = ValueConvertUtil.ConvertStringValue(obj.Name);
                    this.txtShortName.Text             = ValueConvertUtil.ConvertStringValue(obj.ShortName);
                    this.txtCode.Text                  = ValueConvertUtil.ConvertStringValue(obj.Code);
                    this.txtDescription.Text           = ValueConvertUtil.ConvertStringValue(obj.Description);
                    this.txtLogoUrl.Text               = ValueConvertUtil.ConvertStringValue(obj.LogoUrl);
                    this.txtType.Text                  = ValueConvertUtil.ConvertStringValue(obj.Type);
                    this.txtMasterName.Text            = ValueConvertUtil.ConvertStringValue(obj.MasterName);
                    this.chkIsMainOrganization.Checked = ValueConvertUtil.ConvertNullableValue <bool>(obj.IsMainOrganization);
                    if (obj.ParentID != null)
                    {
                        this.txtParentID.Text = obj.ParentID.Name;
                    }
                    else
                    {
                        this.txtParentID.Text = "As Root Org";
                    }
                    this.txtTelPhone.Text  = ValueConvertUtil.ConvertStringValue(obj.TelPhone);
                    this.txtFaxNumber.Text = ValueConvertUtil.ConvertStringValue(obj.FaxNumber);
                    this.txtWebSite.Text   = ValueConvertUtil.ConvertStringValue(obj.WebSite);
                    this.txtEmail.Text     = ValueConvertUtil.ConvertStringValue(obj.Email);



                    hidId.Text = id.ToString();


                    winSystemOrganizationEdit.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;
            }
        }