I have a custom list where I have column of type Date and Time. I used this column in my query to get results from the list which contains more than 10000 items .
<Where><And><And><Geq><FieldRef Name='Date_x0020_Created' /><Value Type='DateTime' IncludeTimeValue='True'>"
+ strFAMFromDate +"</Value></Geq><Leq><FieldRef Name='Date_x0020_Created' /><Value Type='DateTime' IncludeTimeValue='True'>"+ strFAMToDate +"</Value></Leq></And><Eq><FieldRef Name='Shipment_x0020_Status' /><Value Type='Lookup'>Closed</Value></Eq></And></Where>
I am binding the result to grid view.
This query gives me different results: For Eg: when I try to search data between say 01/01/2009 and 01/01/2012 it gives me 14 results .but when I search data between 01/01/2009 and 01/01/2010. it gives me 500 results.
So my question why is it giving more results when I search for data between smaller date ranges rather it should give less data than the data with large date range.
Help me on this issue.