protected void bindFolioDropDown(int customerId, int amcCode, string fnumber) { lblerror.Visible = false; DataSet folioDs; AdvisorBranchBo adviserBranchBo = new AdvisorBranchBo(); folioDs = new DataSet(); folioDs = adviserBranchBo.GetCustomerFolioMergeList(customerId, amcCode, fnumber); if (folioDs.Tables[0].Rows.Count == 0) { lblerror.Visible = true; } ddlAdvisorBranchList.DataSource = folioDs; ddlAdvisorBranchList.DataValueField = folioDs.Tables[0].Columns["CMFA_FolioNum"].ToString(); ddlAdvisorBranchList.DataBind(); }