title: Query to get all items in a list including items in the sub folders in SharePoint
body: <p>I have a document library list. I created folders in that list and uploaded some files to those sub folders. How to get all these files which are in sub-folders in that document library list using <a href="http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spquery.aspx" rel="nofollow">SPQuery</a>?</p>