Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/304.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# 电子表格Resource.ValuesResource.BatchGetRequest Google工作表中的单元格背景色_C#_Google Sheets Api_Google Api Dotnet Client - Fatal编程技术网

C# 电子表格Resource.ValuesResource.BatchGetRequest Google工作表中的单元格背景色

C# 电子表格Resource.ValuesResource.BatchGetRequest Google工作表中的单元格背景色,c#,google-sheets-api,google-api-dotnet-client,C#,Google Sheets Api,Google Api Dotnet Client,谁知道,如何在BatchGetRequest中获取背景色 在GetRequest中,我可以使用GetRequest.IncludeGridData,但在BatchGetRequest中,我找不到类似的参数 我想用Google Sheet单元格中的值获取背景色,然后在Datagridview单元格中应用该值。无法通过batchGet请求检索背景色。使用电子表格有什么问题。获取?这是个问题,因为我有10个电子表格,每个都有1-10个表格。我尝试在我的程序中加载这些工作表,并且几乎总是超过数据读取配额

谁知道,如何在BatchGetRequest中获取背景色

GetRequest
中,我可以使用
GetRequest.IncludeGridData
,但在
BatchGetRequest
中,我找不到类似的参数


我想用Google Sheet单元格中的值获取背景色,然后在Datagridview单元格中应用该值。

无法通过batchGet请求检索背景色。使用
电子表格有什么问题。获取
?这是个问题,因为我有10个电子表格,每个都有1-10个表格。我尝试在我的程序中加载这些工作表,并且几乎总是超过数据读取配额,这需要更多的时间。程序在10个电子表格中获取数据,然后用户(10个用户)可以在我的appWell中看到这些数据,如果无法发出batchGet请求,也许还可以通过其他请求完成?因为,使用batchGet,我获得了比使用电子表格时多得多的免费流量。get您可以发出
电子表格。get
调用只返回所需的字段(如表格id和背景色),而不返回任何其他内容。。。使用
字段
可选属性。另请参见