0
我們希望收集來自Google電子表格的信息,並遵循code samples given in the Google Apps Platform help。從Google電子表格中獲取表格
使用該代碼,我們找到了正確的電子表格和正確的工作表(Debug
行確認它是正確的工作表 - 整個帳戶只有兩個)。但是,當從行中獲取數據時,它會變回空白。所以我試圖發現行數,計數返回0,這就解釋了爲什麼沒有文本即將出現。
那麼我錯過了什麼?
Debug.WriteLine("Worksheet Name=" + worksheet.Title.Text);
// Iterate through each row, printing its cell values.
foreach (ListEntry row in listFeed.Entries){
Debug.WriteLine("thisrow=" + row.Title.Text);
}
Debug.WriteLine("Number of rows=" + listFeed.Entries.Count);
P.S.我去過this wonderful thread,但沒有提及基於列表的提要 - 只有基於單元格的提要。