List导出Excel的链接

转自生鱼片博客http://www.cnblogs.com/carysun

sharepoint的List中有一个Export to Spreadsheet的链接,可以将List数据导出的Excel中,如果你想将该链接放到自己的页面中,可以按下面方式做。

链接的格式为:

 

http://Server]/[Site]/([Subsite]/)_vti_bin/owssvr.dll?CS=109&Using=_layouts/query.iqy&List=[ListGUID]&View=[ViewGUID]&CacheControl=1

image

 

导出效果如下图:

image

 

posted @ 2011-08-09 09:32  邑尘  阅读(279)  评论(0编辑  收藏  举报