TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Akshay
NA
82
47.1k
How To Pass RowLImit in CAMEL QUERY Dynamically
Nov 8 2014 12:31 AM
in my web part i have propety
private int _itemlimit;
[WebBrowsable(true)]
[Personalizable(PersonalizationScope.Shared)]
[Category("Custom Properties")]
[WebDisplayName("Item Limit")]
public int
itemlimit
{
get
{
return _itemlimit;
}
set
{
_itemlimit = value;
}
}
i want to use
itemlimit
dynamically . now i am passing it in camel query like:
SPQuery qry = new SPQuery();
qry.Query = "<Where>" +
"<IsNotNull>" +
"<FieldRef Name='Title' />" +
"</IsNotNull>" +
"</Where>"+
"<RowLimit>"+this.
itemlimit
+"</RowLimit>";
but its not working..........
Reply
Answers (
3
)
error:Object reference not set to an instance of an object.
How to Display Workflow History Graphical Representation?