BL Method which return Collective List objects
///
/// To Fetch the User Name & Code from DB
///
///
public List
- > GetLOBStationAccountUser(LOBStationAccountMap objLOBStationAccountMap)
{
List
- > lstCusomterALL = null;
List
- >();
lstCusomterALL.Add(lstAvailablAccount);
lstCusomterALL.Add(lstSelectedAccount);
lstCusomterALL.Add(lstCustomerAccount);
}
catch (Exception ex)
{
throw ex;
}
finally
{
dr.Close();
dr.Dispose();
//con.Close();
}
return lstCusomterALL;
}
IList objects accessed in CS Page
List
- > lstUserAvail_Selected;
lstUserAvail_Selected = objImportsConfigurationBL.GetLOBStationAccountUser(objLOBStationAccountMap);
if (lstUserAvail_Selected != null) { if (lstUserAvail_Selected.Count > 0) { this.SetAvailExistUsers(lstUserAvail_Selected[0], lstAvailFrame); if (lstUserAvail_Selected[1].Count > 0) this.SetAvailExistUsers(lstUserAvail_Selected[1], lstSelectedFrame); //if ( lstUserAvail_Selected.Count > 1 && lstUserAvail_Selected[2].Count > 1) // this.SetMappedCustomerAccounts(lstUserAvail_Selected[2]); } }