2014-04-18 123 views

回答

0

這裏的.NET版本:

static string DownloadCsvUrl = "https://docs.google.com/feeds/download/spreadsheets/Export?key={0}&gid={1}&exportFormat={2}"; 
Google.Apis.Download.MediaDownloader downloader = new Google.Apis.Download.MediaDownloader(SpreadsheetService); 
var outputStream = new MemoryStream(); 
DownloadCsvUrl = String.Format(DownloadCsvUrl, spreadsheetId, worksheetId, format); 
downloader.Download(DownloadCsvUrl, outputStream); 

的OutputStream將有你的CSV數據。

簡單:)

相關問題