Update a Cell with C# and Sheets API v4

前端 未结 6 895
甜味超标
甜味超标 2020-12-15 18:33

Does anyone have a good C# example for updating a cell with the v4 API?

I have the get cell values c# example from the developer website working with Google Sheets A

6条回答
  •  萌比男神i
    2020-12-15 19:19

    I think you just have access to read your sheet because I can see :

    static string[] Scopes = { SheetsService.Scope.SpreadsheetsReadonly };

    Try to change "SheetsService.Scope.SpreadsheetsReadonly" by "SheetsService.Scope.Spreadsheet" or by "SheetsService.Scope.Drive". Maybe it's another syntax... If it's not a problem of authorization I can't help you, sorry... Good luck my friend.

    Ps: On Xcode (objective-c) you must reset the simulator after modification of scope. For you (C#) I don't know.

提交回复
热议问题