Hello,
I am using Ms Visual studio Express 2010 and I am trying to make an online
database using google spreadsheets.
I am reading the
turorial<https://developers.google.com/google-apps/spreadsheets/> and
everything works well. I stuck in the "select spreadsheet part. I tried to
modify it by adding a
dialog to select a spreadsheet by index number like this:
// TODO: Choose a spreadsheet more intelligently based on your
// app's needs.
Console.WriteLine("Give a number");
int SelectedSS = Console.Read();
SpreadsheetEntry spreadsheet = (SpreadsheetEntry)feed.Entries[SelectedSS];
Console.WriteLine(spreadsheet.Title.Text);
(Before selecting I print a list of the spreadsheets)
But I get the error "Index was out of range. Must be non-negative and less
than the size of the collection."
What am I doing wrong?
Plus. Is it possible to select a spreadsheet by name?
Thanx in advance.