Solved

count is 15 only shows 9 items though

Posted on 2012-12-27
2
169 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:knowlton
2 Comments
 
LVL 7

Accepted Solution

by:
Element1910 earned 500 total points
Comment Utility
Do you have paging turned on or a max limit on the data list?
0
 
LVL 5

Author Closing Comment

by:knowlton
Comment Utility
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Lots of people ask this question on how to extend the “MembershipProvider” to make use of custom authentication like using existing database or make use of some other way of authentication. Many blogs show you how to extend the membership provider c…
One of the pain points with developing AJAX, JavaScript, JQuery, and other client-side behaviors is that JavaScript doesn’t allow for cross domain request for pulling content. For example, JavaScript code on www.johnchapman.name could not pull conte…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

763 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

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now