c# - 如何从 xamarin.forms 中的 Google 电子表格中读取数据

标签 c# google-sheets xamarin.forms google-api cross-platform

我正在寻找一种直接从 Google 表格 读取/写入数据的方法。有谁知道如何在 Xamarin.Forms 中做到这一点?

请记住,使用 Install-Package Google.Apis.Sheets.v4 包从 Windows 窗体访问 Google 表格 对我来说工作正常。

我使用了以下链接:

https://developers.google.com/sheets/api/quickstart/dotnet

最佳答案

在电子表格上读写数据不是一件容易的事。我建议您使用可能会解决您问题的 WebView。在这里你可能会找到一些线索来这样做

https://www.twilio.com/blog/2017/03/google-spreadsheets-and-net-core.html

& 这里是 Google.Apis.Sheets.v4 API 的

https://github.com/xamarin/google-apis

& 使用 C# 的电子表格

Accessing Google Spreadsheets with C# using Google Data API

关于c# - 如何从 xamarin.forms 中的 Google 电子表格中读取数据,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48432846/

相关文章:

c# - 获取在RichTextBox中输入的最后一个词c#

c# - 使用 Ninject 和 Ninject.Extensions.Nlog2 的空引用异常

google-apps-script - 如何将一系列单元格存储到数组中?

javascript - 如何使用脚本隐藏 Google 电子表格中的边栏?

azure - Xamarin 移动应用程序的实时指标流

c# - 将带名称和不带名称的命名空间添加到 XElement

c# - 如何确定可为空的值类型

google-sheets - 谷歌表查询功能中的 sum SQL 未添加

c# - 相对源绑定(bind) Xamarin

visual-studio - Xamarin的Visual Studio上 “XamlCTask”任务意外失败