I have some documents in a document library in SharePoint 2007. The URL is http://abcd:24931/docu/Forms/AllItems.aspx.
I need to display these documents in a data grid view of a Windows form application. I've written:
SPSite siteurl = new SPSite("http://abcd:24931/docu/Forms/AllItems.aspx");
But here (while debugging) the siteurl object does not contain the above complete URL. It only contains http://abcd:24931.
This is my big problem, please provide a solution for my code.