EienYuki / google-gdata

Automatically exported from code.google.com/p/google-gdata
0 stars 0 forks source link

retrieving less columns in spreadsheet sample #624

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Run Spreadsheet sample
2. [Cell Feed] tab shows less -1 columns than it should be

What is the expected output? What do you see instead?
- first column doesn't show up

What version of the product are you using? On what operating system?
- r1134 / vista

Please provide any additional information below.
--- 
C:/Users/Jin/AppData/Local/Temp/spreadsheetssampleapp.cs-revBASE.svn000.tmp.cs  �
�� 8 16 00:08:29 2008

+++ 
D:/Work/google-gdata/clients/cs/samples/spreadsheets/spreadsheetssampleapp.cs   ��
� 9 14 16:58:25 2012

@@ -716,7 +716,7 @@

             // Add in the column headers, as many as the column count asks
             // The number of rows, we only care to go as far as the data goes
             this.cellsListView.Columns.Add("", 20, HorizontalAlignment.Left);
-            for (int i=1; i < feed.ColCount.Count; i++)
+            for (int i=0; i < feed.ColCount.Count; i++)
             {
                 this.cellsListView.Columns.Add(i.ToString(), 80, HorizontalAlignment.Center);
             }

Original issue reported on code.google.com by operator...@gmail.com on 14 Sep 2012 at 8:13

GoogleCodeExporter commented 8 years ago
The sample works as expected, the first column in the form is used to hold a 
numeric id while the other columns are shifted by one

Original comment by ccherub...@google.com on 14 Sep 2012 at 4:58