Getting latest add item from list..
Hi Guys, Been searching a lot on this question but not been able to find a solution to it even thou it's probably pretty simple:) The title sais it all.. I'm trying to get the latest added item to a list, been trying to do it with caml but can't see how to is there a simple way todo this? Just want the latest added item:) Sincerely Mads
November 15th, 2011 6:24am

In the CAML query, you need to use ORDER BY clause for Modified Date Desc then convert it into DATATABLE. Due to order by clause latest list item will come at index 0.Thanks, Amit Kumar, LinkedIn Profile ** My Blog
Free Windows Admin Tool Kit Click here and download it now
November 15th, 2011 6:35am

Thanks.. will try that.. :)Mads Jensen
November 15th, 2011 6:59am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics