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
Patrick
NA
1
3.8k
Sharepoint Silverlight Error Message LAMBDA EXPRESSION - please help!
Apr 7 2011 1:40 AM
Hello,
I'm new in developing Sharepoint Applications.
So I started a new project for Silverlight.
I created a method called makeProgressWebConnection() for getting a connection to a list of sharepoint.
Here is the code:
void
makeProgressWebConnection()
{
Loader.Value++;
Status.Text =
"Web Connected. Connection to media stores..."
;
BaseType
.DocumentLibrary && !list.Hidden));
clientCtx.Load(clientCtx.Web.Lists, lists => lists.Include(list => list.Title, list.Id).Where(list => list.BaseType==
clientCtx.ExecuteQueryAsync(updateLists, errUpdateLists);
}
But when I afterwards want to deploy the project, I got an error:
the name "list" does not exist in the current context.
Cannot convert lambda expression to type 'System.Linq.Expressions.Expression<System.Func<Microsoft.Sharepoint.Client.ListCollection,object>>[]' because it is not a delegate type
So what is wrong with this code?
I copied the code out of a book.
Greets
Reply
Answers (
1
)
Need a suggestion
Need help in share point 2010