SharePoint - Queries directly in Sharepoint - Asked By Bookworm on 22-May-12 10:05 AM

Hi,

Can anybody tell me how can i do queries directly in sharepoint, not with c# code from web part.

I need to run queries, and i dont know how.

thnx in advance
Jitendra Faye replied to Bookworm on 23-May-12 12:14 AM
Yes, you can perform query using workflow actions,

in work flow action you can directly refer to the Sharepoint list and based on some condtion or directly you can perform some  like insert delete and update etc operation in sharepoint list.
Somesh Yadav replied to Bookworm on 23-May-12 12:18 AM
check this,
http://www.codeproject.com/Articles/42787/Five-Reasons-Not-to-Directly-Query-SharePoint-Data
[)ia6l0 iii replied to Bookworm on 28-May-12 01:28 PM
Not advised.  This is a bad approach.  Use Sharepoint webservices or the Sharepoint object model instead.