下面是链接
How to insert,delete,select,update values in datagridview in C# using MYSQL
其中包含从 Windows 应用程序连接到 MySQL 数据库的代码。它在 Windows XP 中运行良好。所以我创建了一个安装文件并使用 Wine 安装在 Ubuntu 中。 .
问题是数据没有在应用程序的数据 GridView 中弹出。
额外信息:
Wine is working fine by which i have installed small desktop application MySql with connector,Mono IDE are already installed.
It is even possible for me to create small applications using mono>(excluding database)
截图一: 在 Windows 中它看起来像这样:
但是在 Ubuntu Linux(8.04) 中它没有出现,看起来像下面这样。
最佳答案
这听起来像 bug 33938 ,Linux 中的 Mono 环境似乎不支持 Windows 的 native codepage (1252).
关于c# - 无法使用 Ubuntu 连接到 MySQL for .NET 应用程序部署在 Wine 中,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1686852/