Solved

count is 15 only shows 9 items though

Posted on 2012-12-27
2
171 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
ID: 38724512
Do you have paging turned on or a max limit on the data list?
0
 
LVL 5

Author Closing Comment

by: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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

I have developed many web applications with asp & asp.net and to add and use a dropdownlist was always a very simple task, but with the new asp.net, setting the value is a bit tricky and its not similar to the old traditional method. So in this a…
This article discusses the ASP.NET AJAX ModalPopupExtender control. In this article we will show how to use the ModalPopupExtender control, how to display/show/call the ASP.NET AJAX ModalPopupExtender control from javascript, how to show/display/cal…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

920 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

12 Experts available now in Live!

Get 1:1 Help Now