STEP1--
i have list name itemlist,
in itemlist have 50 item
STEP2--
I want to show only 10 item when user1 login
(HOW TO SET FILTER)
PL Z Explain it
so pl z solve my problem, if anyone have idea
THANKS & REGARDS
AKMAL
HOW TO SET FILTER
4 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Guest UserRank #259 · 9.8K reputationPosted Jul 20, 2014, 11:48 PM EDT
var ten_itemlist = itemlist.Take(10);
twitter @sumitjolly
Md AkmalRank #5,191 · 308 reputationPosted Jul 26, 2014, 7:35 AM EDT
Laxman VyavahareRank #3,859 · 384 reputationPosted Oct 17, 2014, 5:56 AM EDT
or
you can use CAML quey like .... query.rowlimit=10;
Brijendra GautamRank #1,900 · 778 reputationPosted Oct 25, 2014, 5:02 AM EDT
e.g.
// Checking is User is not Admin
if(!SPContext.Current.Web.CurrentUser.IsAdmin)
query.rowlimit=10;