private void BindDropDowns(string path)
        {
            try
            {
                dtAccountType                 = XMLBo.GetBankAccountTypes(path);
                ddlAccountType.DataSource     = dtAccountType;
                ddlAccountType.DataTextField  = "BankAccountType";
                ddlAccountType.DataValueField = "BankAccountTypeCode";
                ddlAccountType.DataBind();
                ddlAccountType.Items.Insert(0, new ListItem("Select an Account Type", "Select an Account Type"));

                dtModeofOperation                 = XMLBo.GetModeOfHolding(path);
                ddlModeOfOperation.DataSource     = dtModeofOperation;
                ddlModeOfOperation.DataTextField  = "ModeOfHolding";
                ddlModeOfOperation.DataValueField = "ModeOfHoldingCode";
                ddlModeOfOperation.DataBind();
                ddlModeOfOperation.Items.Insert(0, new ListItem("Select a Mode of Holding", "Select a Mode of Holding"));

                dtStates = XMLBo.GetStates(path);
                ddlBankAdrState.DataSource     = dtStates;
                ddlBankAdrState.DataTextField  = "StateName";
                ddlBankAdrState.DataValueField = "StateCode";
                ddlBankAdrState.DataBind();
                ddlBankAdrState.Items.Insert(0, new ListItem("Select a State", "Select a State"));
            }

            catch (BaseApplicationException Ex)
            {
                throw Ex;
            }
            catch (Exception Ex)
            {
                BaseApplicationException exBase       = new BaseApplicationException(Ex.Message, Ex);
                NameValueCollection      FunctionInfo = new NameValueCollection();
                FunctionInfo.Add("Method", "AddBankDetails.ascx:BindDropDowns()");
                object[] objects = new object[4];
                objects[0]   = path;
                objects[1]   = dtAccountType;
                objects[2]   = dtModeofOperation;
                objects[3]   = dtStates;
                FunctionInfo = exBase.AddObject(FunctionInfo, objects);
                exBase.AdditionalInformation = FunctionInfo;
                ExceptionManager.Publish(exBase);
                throw exBase;
            }
        }