【发布时间】:2015-07-06 21:36:56
【问题描述】:
我正在尝试在电子表格中添加一个数组列表作为标题。我参考了 google api,我想插入行。但现在我需要一次性插入行数组。可以帮忙吗。
// Create a local representation of the new row.
ListEntry row = new ListEntry();
row.Elements.Add(new ListEntry.Custom() { LocalName = "firstname", Value = "Joe" });
row.Elements.Add(new ListEntry.Custom() { LocalName = "lastname", Value = "Smith" });
row.Elements.Add(new ListEntry.Custom() { LocalName = "age", Value = "26" });
row.Elements.Add(new ListEntry.Custom() { LocalName = "height", Value = "176" });
// Send the new row to the API for insertion.
service.Insert(listFeed, row);
【问题讨论】:
标签: c# google-apps-script