Exemple #1
0
    public ArrayList GetAllLoginAgentDetailsService()
    {
        DataSet    ds            = new DataSet();
        HotLeadsBL objHotLeadsBL = new HotLeadsBL();
        ArrayList  arr           = new ArrayList();

        ds = objHotLeadsBL.GetAllLoginAgentDetails();

        if (ds.Tables[0].Rows.Count > 0)
        {
            for (int i = 0; i < ds.Tables[0].Rows.Count; i++)
            {
                arr.Add(ds.Tables[0].Rows[i]["AgentUFirstName"].ToString() + "," + ds.Tables[0].Rows[i]["AgentCenterCode"].ToString());
            }
        }
        return(arr);
    }