Hi there,
I have already created a webpart to show the data from list, but I really want is to only show top 5 records from that list (by using CAML query).
Does anyone know how to do this? Many thanks.
<Query>
<OrderBy>
<FieldRef Name='ID' Ascending='False' />
</OrderBy>
</Query>