用于连接mysql而不是ms sql的C#代码 [英] C# code for connecting mysql instead of ms sql

查看:66
本文介绍了用于连接mysql而不是ms sql的C#代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

对于基于Web的应用程序我需要访问主服务器,目前我只能访问我的本地服务器,因为我的数据库代码是MS-SQL ..可以帮助我使用MYSQL查询连接到主服务器(我怎样才能正确地将主要的MS-SQL代码转换为MYSQL代码..可用的任何一个好的可下载软件?)

for a web based application i need to access the main server,currently i am only able to access my local server since my data base codes are in MS-SQL ..can anybody help me connect to the main server using MYSQL queries ( how can i properly convert main MS-SQL codes to MYSQL codes..any good downloadable software available for the same ??)

推荐答案

你好,



我相信你可以使用以下MySQL连接器和ASP.NET脚本。



http://dev.mysql.com/doc/refman/5.5/ en // connector-net-tutorials-asp-roles.html [ ^ ]



有了这个,您应该只能与不同的连接字符串。



Adam
Hi there,

I believe you will be able to use the following MySQL Connector with ASP.NET scripts.

http://dev.mysql.com/doc/refman/5.5/en//connector-net-tutorials-asp-roles.html[^]

With this you should just be able to interact with a different connection string.

Adam


这篇关于用于连接mysql而不是ms sql的C#代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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