Tagged Questions
0
votes
1answer
391 views
SPDataSource for asp gridView returns nothing?
I'm binding my SPDataSource to an ASP:DataGrid but it returns empty gridview not filled.
Here's my aspx file
<SharePoint:SPDataSource runat="server" ID="SPTypes" DataSourceMode="ListItem" ...
0
votes
0answers
74 views
spquery.query cannot be charged correctly
I'm charging my spquery with different parameters from a static class called Fields :
In fact I'm using this query to bind result data to my asp:grid view
using (SPSite mySite = new ...
1
vote
3answers
2k views
Sharepoint 2010 SPQuery to join two custom lists
I have two custom lists.
list 1 having following columns:
ID (consider as PK)
title
list 2 having following columns
NID (lookup column)
title
I'm using spquery.joins like below
<Joins>
...
0
votes
1answer
1k views
filter items by Site name and List Name using SPSiteDataQuery
I am listing files from multiple folders using the below code:
SPSiteDataQuery q = new SPSiteDataQuery();
q.Lists = "<Lists BaseType='1'/>";
q.Query = ...