i need to get the last modified item in my SPList. How can i do that without looping through all items?
Build a SPQuery, set the OrderBy-option to the "Modified" field and take a row limit of 1.
The first (and only, if any items inside the list) item the query results into will have the "Modified"-fieldvalue you are looking for.
Microsoft is conducting an online survey to understand your opinion of the Msdn Web site. If you choose to participate, the online survey will be presented to you when you leave the Msdn Web site.
Would you like to participate?