C#中的mdf数据库 [英] mdf database in c#

查看:205
本文介绍了C#中的mdf数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们可以将mdf数据库用作本地数据库吗?

can we use mdf database as local database?

推荐答案

确定您可以在下面的链接中看到连接数据库excel,access和sql的所有三种方式

有使用它的示例代码.

http://hemantrautela.blogspot.in/2012/09/database- connection-in-cnet-aspnet-with.html [ ^ ]
Sure You Can See all three way to connect database excel , access and sql at below link

There is a sample code to use it.

http://hemantrautela.blogspot.in/2012/09/database-connection-in-cnet-aspnet-with.html[^]


Mdf文件与SQL Server或VS相关联,您需要其中的任何一个.
如果您要寻找可移植性和易用性,请使用XML或MS Access.
Mdf files are associated with SQL Server or VS, and you need anyone of them.
Use XML or MS Access if you are looking for portability and ease of use.


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

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