4 messages in com.googlegroups.google-base-data-api.NET library 1.1.2.0 is released| From | Sent On | Attachments |
|---|---|---|
| Frank Mantek | 16 Nov 2007 01:43 | |
| Bobrot | 16 Nov 2007 08:23 | |
| Frank Mantek | 19 Nov 2007 00:57 | |
| Alex (Google) | 20 Nov 2007 00:46 |
| Subject: | .NET library 1.1.2.0 is released![]() |
|---|---|
| From: | Frank Mantek (fman...@gmail.com) |
| Date: | 11/16/2007 01:43:18 AM |
| List: | com.googlegroups.google-base-data-api |
and available for download. Beside adding the migration support for Google Apps it adds a few bugfixes, as well as a slightly streamlined object model for CellFeeds (Spreadsheets). There is a longer example for this in clients/cs/src/unittests/spreadsheetlive.cs, and the changes are in the realease notes, nethertheless, here is a short example of how you go about getting the feed, adding a new Worksheet, and filling it now:
SpreadsheetFeed feed = service.Query(query); SpreadsheetEntry entry = feed.Entries[0] as SpreadsheetEntry; WorksheetFeed sheets = entry.Worksheets;
WorksheetEntry newEntry = sheets.Insert(new WorksheetEntry(10, 20, "New Worksheet")); CellFeed cells = newEntry.QueryCellFeed(ReturnEmtpyCells.yes); for (uint row = 1; row <= 10; row++) { for (uint col=1; col <= 20; col++) { cells[row,col].InputValue = "R"+row+"C"+col; } } cells.Publish(); // and done. This will do a batchupdate in the background
The complete release notes are at:
http://code.google.com/p/google-gdata/wiki/ReleaseNotes
Download it at: http://code.google.com/p/google-gdata/downloads/list
If you find issues, report them here:
http://code.google.com/p/google-gdata/issues/list
Enjoy,
Frank Mantek Google




