count is 15 only shows 9 items though

Trying to figure-out why the count is 15, but only 9 items are displayed...

  using (AgentFormsDataContext dc = new AgentFormsDataContext())
            {

                allForms = dc.AgentFormList_Get(AssetID, AssetSID).ToList<AgentFormList_GetResult>();
                forms = allForms.FindAll(item => item.Active == true || item.Active == null);
                formsHistory = allForms.FindAll(item => item.AcceptanceReqd == true && item.ActionDate != null);
            }

Open in new window



forms count is 15 shows 9  (incorrect)
formsHistory count is 8 shows 8  (correct)

count 15 shows 9
LVL 5
Tom KnowltonWeb developerAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Element1910Connect With a Mentor Commented:
Do you have paging turned on or a max limit on the data list?
0
 
Tom KnowltonWeb developerAuthor Commented:
No, but I did have a Row Data Bound event firing that was weeding out some of the items.

Problem solved.  Thanks for your time spent on this!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.