Tagged Questions
0
votes
1answer
32 views
Understanding SPMetal and Linq
If I generate .cs file using SPMetal for my site and then use it in Visual Studio to develop web part using Linq. And later on I create a new list in my site, will I need to generate .cs file again?
0
votes
1answer
19 views
DirectoryNotFoundException when trying to read Picture Library using Linq
I am trying to read a picture library named "ImageLibrary" as follows:
SPList list = web.GetList("ImageLibrary");
But I am getting following error:
DirectoryNotFoundException
How do I read ...
1
vote
1answer
49 views
SharePoint, LINQ & Reporting Services Tools
I'm new to SP and SSRS, so I want to check if my thoughts are correct.
Report Builder and BIDS suck on data retrieval so I have to go deeper using code.
Is it possible to write some code in C# using ...
1
vote
0answers
48 views
Is there a visual building tool to generate LINQ Queries? [closed]
Is there a visual building tool to generate LINQ Queries (from sharepoint lists) similar to CAML's U2U builder or CAML Designer?
Thanks
0
votes
1answer
1k views
Getting items from rows 4-8 in a Sharepoint list using CAML query?
Here is the code Im using to retrieve the first 4 most upcoming announcements from the OOTB announcements list in sharepoint:
How do I modify this to retrieve the next 4 (5,6,7 and 8) most upcoming ...
0
votes
2answers
944 views
Get Files from document library with LINQ
Hi I'm trying to get file from a documentLibray with LINQ Query.
I've been trying with this code but I get nothing!
var allegatiCollegati = (from SPFile attach in web.Lists.["Allegati"].items
...
0
votes
2answers
142 views
Delete item from COM. Don't find Item
I'm trying to delete but the code seems that can't find the Item field :
try
{
using (ClientContext context = new ClientContext("http://to0wss2k10rey03/sites/ReplyCorp"))
...
0
votes
1answer
60 views
Get client query of a server query
I?m trying to get
how can I get the query but on the client context?
SPWeb webRoot = scSite.OpenWeb();
SPListItem selectedItem = (from SPListItem item in ...