protected void ddlCustomerISAAccount_SelectedIndexChanged(object sender, EventArgs e) { if (ddlCustomerISAAccount.SelectedIndex != 0) { LoadNominees(); trHoldings.Visible = true; btnGo.Visible = true; trHoldingType.Visible = true; DataTable dt = customerBo.GetISAHoldings(int.Parse(ddlCustomerISAAccount.SelectedValue)); DataRow dr = dt.Rows[0]; lblModeOfHoldingValue.Text = dr["XMOH_ModeOfHolding"].ToString(); if (int.Parse(dr["CISAA_Isjointlyheld"].ToString()) == 0) { lblGetISAHoldingType.Text = "No"; lblJointHoldersGv.Visible = false; lblNomineegv.Visible = true; gvJointHoldersList.Visible = false; gvNominees.Visible = true; } else { lblGetISAHoldingType.Text = "Yes"; lblJointHoldersGv.Visible = true; lblNomineegv.Visible = true; gvJointHoldersList.Visible = true; gvNominees.Visible = true; } lblAvailableFolio.Visible = true; lblAttachedFolio.Visible = true; BindAvailableFolioGrid(int.Parse(txtCustomerId.Value), int.Parse(ddlCustomerISAAccount.SelectedValue)); BindAttachedFolioGrid(int.Parse(ddlCustomerISAAccount.SelectedValue)); } }