在C#中读写sql数据库 [英] reading and writing sql database in C#
本文介绍了在C#中读写sql数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
除了'SqlConnection'之外的其他方式,用于读取和编写sql数据库,在C#中?
Hi,
Is other way except 'SqlConnection', for reading and writing sql database , in C#?
推荐答案
不,不是 - 为了访问SQL数据库,您需要通过SQL Server - 这意味着建立与它的连接,并提供授权详细信息。
有您可以做的事情是隐藏连接,但它们最终都会建立连接,执行命令并返回数据 - 如果有的话。
No, not really - in order to access an SQL database, you need to go via SQL Server - which means establishing a connection to it, and providing authorisation details.
There are things you can do to "hide" the connection, but they all end up establishing a connection, performing a command, and returning data - if any.
这篇关于在C#中读写sql数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文