Creating a button to export a SharePoint 2010 data view webpart

Use case: A SharePoint page has a data view list webpart on the page. You need a simple button on the page, that users can click to export the data (rather than clicking through the Sharepoint ribbons etc).   A Solution: Getting the data: you can use the owssvr.dll to export this data. IE: {site…

5