How can I create a google-spreadsheet using C#

Posted by Kev on Stack Overflow See other posts from Stack Overflow or by Kev
Published on 2010-06-13T18:55:45Z Indexed on 2010/06/13 19:02 UTC
Read the original article Hit count: 243

I've installed the latest Google Data API for .Net.
But I cannot figure out how to create a spreadsheet using C# code.
It's not included in the sample programs.

I've tried this:

SpreadsheetsService ss = new SpreadsheetsService("Spreadsheet Example");
ss.setUserCredentials("[email protected]", "password");
SpreadsheetEntry se = new SpreadsheetEntry();
se.Title.Text = "new";
ss.Insert(new Uri("http://spreadsheets.google.com/feeds/spreadsheets/private/full"), se);

However, It doesn't work!

Is there some way to do this job?
Thank you!

© Stack Overflow or respective owner

Related posts about google-docs

Related posts about google-spreadsheet