private void BindCommnGridView()
        {
            DataTable dt = new DataTable();

            try
            {
                if ((dt = advisorBranchBo.GetBranchAssociateCommission(advisorBranchVo.BranchId)) != null)
                {
                    gvCommStructure.DataSource = dt;
                    gvCommStructure.DataBind();
                    gvCommStructure.Visible = true;
                }

                if (dt.Rows.Count > 0)
                {
                    CommSharingStructureHdr.Visible = true;
                    trAssocCategory.Visible         = true;
                }
                else
                {
                    CommSharingStructureHdr.Visible = false;
                    trAssocCategory.Visible         = false;
                }
            }
            catch (BaseApplicationException Ex)
            {
                throw Ex;
            }
            catch (Exception Ex)
            {
                BaseApplicationException exBase       = new BaseApplicationException(Ex.Message, Ex);
                NameValueCollection      FunctionInfo = new NameValueCollection();
                FunctionInfo.Add("Method", "ViewBranchDetails.ascx.cs:BindCommnGridView()");
                object[] objects = new object[2];
                objects[0]   = advisorBranchVo;
                objects[1]   = dt;
                FunctionInfo = exBase.AddObject(FunctionInfo, objects);
                exBase.AdditionalInformation = FunctionInfo;
                ExceptionManager.Publish(exBase);
                throw exBase;
            }
        }