Solved

count is 15 only shows 9 items though

Posted on 2012-12-27
2
175 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 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: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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

I recently went through the process of creating a Calendar Control of events with the basis of using a database to keep track of the dates that are selectable, one requirement was to have the selected date pop-up in a simple lightbox.  At first this…
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

737 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