/// <summary> /// to fill the banks from the batabase /// </summary> private void FillBanks() { BankBLL objBankBLL = new BankBLL(); ddlBank.DataSource = objBankBLL.GetBanks(); ddlBank.DataValueField = "BankID"; ddlBank.DataTextField = "BankName"; ddlBank.DataBind(); }