来自 MySQL 的报表查看器 C# 数据

Report Viewer C# data from MySQL

我在 C# Asp.Net 和 MySQL 中使用报表查看器。但是 MySQL 并没有像报表数据中的数据源中的选项那样出现。

MySQL 不是数据库选项。

有人可以帮助我吗?

  1. 下载 MySQL 安装程序的完整版本,大约有 378 Mb - Download here
  2. 安装它。
  3. 转到添加 --> 应用程序 --> MySQL for Visual Studio 然后单击箭头将其添加到要添加的列表中。对 MySQL 连接器执行相同操作 --> Connector/Net。
  4. 点击下一步
  5. 单击 em 执行。
  6. 之后关闭并打开您的 Visual Studio。

The problem was the web installer. For some reason the version of MySQL connector and MySQL for Visual Studio was not working with Visual Studio 2015. Hope help it. Problem solved.