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

标签 c# mysql asp.net report reportviewer

我将 Report Viewer 与 C# Asp.Net 和 MySQL 结合使用。但是 MySQL 并没有出现在 Report Data 的 Data Source 选项中。

example

MySQL 不是数据库选项。

有人可以帮助我吗?

最佳答案

  1. 下载大约 378 Mb 的完整版 MySQL 安装程序 - Download here
  2. 安装它。
  3. 转到添加 --> 应用程序 --> MySQL for Visual Studio,然后单击箭头将其添加到要添加的列表中。对 MySQL Connectors --> Connector/Net 做同样的事情。
  4. 点击下一步。
  5. 单击 em execute。
  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.

关于c# - 来自 MySQL 的报表查看器 C# 数据,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36427356/

相关文章:

c# - 为什么需要业务逻辑层?

c# - MVVM 共享属性

mysql - MySQL 触发器中的条件值

javascript - 在 Razor 中下拉更改时添加 html

asp.net - DropdownList 重置在更新面板的提交按钮上不起作用

c# - .NET InsertMediaUpload 将 CSV 上传到 BigQuery 时出现奇怪的问题

c# - MSAL 未重定向到 Android 应用

php - php smarty mysql 字符集错误

mysql - rails : error: database configuration does not specify adapter

asp.net - 如何以编程方式构建带有表单和用户控件的 System.Web.UI.Page?