Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

count is 15 only shows 9 items though

Posted on 2012-12-27
2
Medium Priority
?
178 Views
Last Modified: 2012-12-27
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
0
Comment
Question by:Tom Knowlton
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 7

Accepted Solution

by:
Element1910 earned 2000 total points
ID: 38724512
Do you have paging turned on or a max limit on the data list?
0
 
LVL 5

Author Closing Comment

by:Tom Knowlton
ID: 38724589
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

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question