XML query
Windows Server Forum Index Windows Server
Server discussion on Windows platform.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web winserverhelp.com
XML query

 
Post new topic   Reply to topic    Windows Server Forum Index -> Portal Server Development
Author Message
cms123
Guest





Posted: Tue Jan 11, 2005 10:13 pm    Post subject: XML query Reply with quote

I was suggested to foward this question to your group.
I am new user to sharepoint. I am confused by a lot sample code. for
Quote:
example,
in following code, I do not know where I can find XML database data and
contant. I do not know what fieldRef name and value the XML database have?
Where they are stored? I do not know How could I create the query that I need?

string items =
srvSiteData.GetListItems("{e5c6603b-0f6c-4bd9-8bb1-57c83854308b}",
"<Where><Eq><FieldRef Name=\"Field\"/><Value
Type=\"Number\">1450</Value></Eq></Where>",
"<FieldRef Name=\"Title\"/><FieldRef Name=\"Number\"/>", 100);

Thanks for any help,
Back to top
Noble Lesmana
Guest





Posted: Wed Jan 12, 2005 10:25 am    Post subject: RE: XML query Reply with quote

You can refer to
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/spptsdk/html/tscamlovIntroduction.asp
for an overview of Collaborative Application Markup Language (CAML).

Noble Lesmana

"cms123" wrote:

Quote:
I was suggested to foward this question to your group.
I am new user to sharepoint. I am confused by a lot sample code. for
example,
in following code, I do not know where I can find XML database data and
contant. I do not know what fieldRef name and value the XML database have?
Where they are stored? I do not know How could I create the query that I need?

string items =
srvSiteData.GetListItems("{e5c6603b-0f6c-4bd9-8bb1-57c83854308b}",
"<Where><Eq><FieldRef Name=\"Field\"/><Value
Type=\"Number\">1450</Value></Eq></Where>",
"<FieldRef Name=\"Title\"/><FieldRef Name=\"Number\"/>", 100);

Thanks for any help,
Back to top
 
Post new topic   Reply to topic    Windows Server Forum Index -> Portal Server Development All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




New Topics Powered by phpBB