I'm Newbie to Sharepoint.Please help me out.

1.I need to create a sp gridview in the sharepoint.

2.I need to write code where it will show the Sharepoint document library in sp grid view.

3.Now i want to Download the documents which are displaying in the sp gridview from the sharepointment library when clicked on the name.

Thanks in advance.

1 Answer 1


You can add a hyperlink in your gridview and set the url to the document URl. When user clicks on hyperlink the document will be downloaded.

Hope this helps.

  • If someone adds any new file to sharepoint library, will spgridview update accordingly?
    – Sharath
    Jul 14, 2014 at 12:38
  • How are you populating your gridview?
    – Aanchal
    Jul 14, 2014 at 12:48
  • I have no idea.Can you please provide me a code snippet
    – Sharath
    Jul 14, 2014 at 17:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.