ASP / .NET不使用ODBC或任何驱动程序连接MySQL服务器? [英] ASP/.NET to connect MySQL Server without using ODBC or any driver?

查看:201
本文介绍了ASP / .NET不使用ODBC或任何驱动程序连接MySQL服务器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

经典的ASP .NET ,有没有办法连接 MySQL的不使用,对于如 MySQL的ODBC驱动程序所有驱动程序需要被安装在服务器,假设我不是管理员或没有安装任何东西的权限?

In Classic ASP or .NET, is there a way to connect MySQL without using, for e.g, MySQL ODBC Driver or Any Driver which needs to be installed on the Server, assuming i'm not an admin or not having any permission to install anything?

推荐答案

首先从的此处选择平台的.NET /单从下拉列表中前

First Download the MySql.Data.MySqlClient dll from here before select Platform .net/mono from dropdown list

添加引用到项目中。你做。

add reference to your project. you are done.

其作为System.Data.SqlClient的一样。

its same as System.Data.SqlClient.

我希望这会帮助你。

如果您需要的文件点击这里

这篇关于ASP / .NET不使用ODBC或任何驱动程序连接MySQL服务器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆