示例#1
0
        protected void GetBank()
        {
            List <Bankstbl> lstBank   = new List <Bankstbl>();
            Bankstbl        bnk       = new Bankstbl();
            BankBL          objbankBL = new BankBL();

            bnk.Status = 1;
            lstBank    = objbankBL.GetBankIsActive(bnk).ToList();
            //lstBank = objbankBL.GetAllBanks(bnk).ToList();
            ListItem l = new ListItem();

            l.Text  = "--Select--";
            l.Value = 0.ToString();
            DdlToAccount.Items.Add(l);
            foreach (var cnt in lstBank)
            {
                ListItem li = new ListItem();
                li.Text  = cnt.BankName;
                li.Value = cnt.BankID.ToString();
                DdlToAccount.Items.Add(li);
            }
        }
示例#2
0
 public IEnumerable <Bankstbl> GetBankIsActive(Bankstbl ba)
 {
     return(objBankDA.BanksAll(7, ba));
 }
示例#3
0
 public IEnumerable <Bankstbl> UpdateBankIsActive(Bankstbl ba)
 {
     return(objBankDA.BanksAll(6, ba));
 }
示例#4
0
 public IEnumerable <Bankstbl> DeleteBank(Bankstbl ba)
 {
     return(objBankDA.BanksAll(5, ba));
 }
示例#5
0
 public IEnumerable <Bankstbl> UpdateBank(Bankstbl ba)
 {
     return(objBankDA.BanksAll(4, ba));
 }
示例#6
0
 public IEnumerable <Bankstbl> InsertBank(Bankstbl ba)
 {
     return(objBankDA.BanksAll(3, ba));
 }
示例#7
0
 public IEnumerable <Bankstbl> GetBankbyId(Bankstbl ba)
 {
     return(objBankDA.BanksAll(2, ba));
 }
示例#8
0
 public IEnumerable <Bankstbl> GetAllBanks(Bankstbl ba)
 {
     return(objBankDA.BanksAll(1, ba));
 }