使用 .netcf 2.0 从 POcket PC 应用程序进行 Mysql 连接

发布于 2024-07-19 21:23:00 字数 111 浏览 5 评论 0原文

我们正在 .netcf 2.0 中使用 C# 开发 PDA 中的订单接收系统。 所以我们有 mysql 服务器作为我们的后端。 Web服务是连接mysql和PDA的唯一方法吗? 或者还有其他方法吗..?

We are developing an order taking system in PDA using C# in .netcf 2.0. So we are having mysql server as our back end. Is that the web service is the only way to connect mysql with PDA? Or is any other methods available..?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

小梨窩很甜 2024-07-26 21:23:00

我不相信 Compact Framework 中有 MySQL 的数据提供程序。

我建议您阅读 移动应用程序架构指南,尤其是数据层章节,以了解您的选择。

I don't believe there is a Data Provider for MySQL in Compact Framework.

I recommend that you read the Mobile Application Architecture Guide, especially the Data Layer chapter to see what your options are.

霊感 2024-07-26 21:23:00

MySql 网站上有一个 .netcf 连接器可供下载。
我建议使用版本 5.2.7 并且不要忘记将 "pooling=false" 放入连接字符串中,否则连接将失败并出现异常 "MissingManifestResourceException" 。

连接字符串示例:
“保留安全信息=False;数据库=DATABASE_NAME;服务器=SERVER_IP_ADDRESS;用户 ID=USERNAME_TO_LOGON;密码=PASSWORD;池化=false

There is a .netcf connector on MySql web site available for download.
I recommend to use version 5.2.7 and not to forget to put "pooling=false" into the connection string, otherwise connection will fail with exception "MissingManifestResourceException" .

Connection string example:
"Persist Security Info=False;database=DATABASE_NAME;server=SERVER_IP_ADDRESS;user id=USERNAME_TO_LOGON;Password=PASSWORD;pooling=false"

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文