使用C#连接到没有任何连接器的数据库 [英] Connect to a database without any connector using C#

查看:60
本文介绍了使用C#连接到没有任何连接器的数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我正在构建一个应用程序,我想找到谁在使用它。

当应用程序启动时,它会插入:

硬盘序列号,拳头打开日期,当前日期

到数据库表(在线)。



我的网络托管服务提供商给出我是一个免费的mysql服务器。



是否可以连接到用户无需安装任何MySql连接器的mysql数据库?

(用户只安装了.Net框架)

安全对我来说不是问题。我可以将密码集成到应用程序代码中。



他们有更好的方法吗(不使用数据库/使用SQL)?



谢谢

Hi,
Am building an application and i want to find who using it.
When the application start, it insert:
hard disk serial number, fist opened date, current date
to a table of a database (Online).

My web hosting provider give me a free mysql server.

Is it possible to connect to the mysql database that users dose not have to install any MySql connector?
(Users only have .Net framework installed)
Security is not a problem for me. I can integrate password to the app code.

Is their any better way to do this (Without using a database / Using SQL)?

Thank you

推荐答案

http://stackoverflow.com/questions/6395795/how-to-connect-to -mysql-using-mysql-connector-via-c-sharp-without-actual-insta [ ^ ]



http:// stackoverflow。 com / questions / 1629532 / connectiong-from-c-sharp-to-mysql-without-any-third-party-components [ ^ ]



见上面的链接..希望你会得到一些粗略的想法......
http://stackoverflow.com/questions/6395795/how-to-connect-to-mysql-using-mysql-connector-via-c-sharp-without-actually-insta[^]

http://stackoverflow.com/questions/1629532/connectiong-from-c-sharp-to-mysql-without-any-third-party-components[^]

See the above links..hope you will get some rough idea...


这篇关于使用C#连接到没有任何连接器的数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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