コード例 #1
0
        private void BindSchemeStructureRuleGrid(int adviserId)
        {
            DataSet dsSchemeStructureRule = commisionReceivableBo.GetCommissionSchemeStructureRuleList(adviserId, ddlProductType.SelectedValue);

            RadGridSchemeRule.Visible         = false;
            RadGridIssueStructureRule.Visible = false;

            if (ddlProductType.SelectedValue == "MF")
            {
                RadGridSchemeRule.Visible    = true;
                RadGridSchemeRule.DataSource = dsSchemeStructureRule.Tables[0];
                RadGridSchemeRule.DataBind();
            }
            else
            {
                RadGridIssueStructureRule.Visible    = true;
                RadGridIssueStructureRule.DataSource = dsSchemeStructureRule.Tables[0];
                RadGridIssueStructureRule.DataBind();
            }
            Cache.Insert(userVo.UserId.ToString() + "SchemeStructureRule", dsSchemeStructureRule);
            if (dsSchemeStructureRule.Tables[0].Rows.Count > 0)
            {
                ibtExport.Visible = true;
            }
        }
コード例 #2
0
        private void BindSchemeStructureRuleGrid(int adviserId)
        {
            DataSet dsSchemeStructureRule = commisionReceivableBo.GetCommissionSchemeStructureRuleList(adviserId);

            RadGridSchemeRule.DataSource = dsSchemeStructureRule.Tables[0];
            RadGridSchemeRule.DataBind();
            Cache.Insert(userVo.UserId.ToString() + "SchemeStructureRule", dsSchemeStructureRule);
            if (dsSchemeStructureRule.Tables[0].Rows.Count > 0)
            {
                ibtExport.Visible = true;
            }
        }