为什么在服务器资源管理器中创建SQLServer Compact表不能在磁盘上创建.SDF文件? [英] Why does creating a SQLServer Compact table in Server Explorer not create an .SDF file on disk?

查看:151
本文介绍了为什么在服务器资源管理器中创建SQLServer Compact表不能在磁盘上创建.SDF文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Visual Studio 2008中创建了一个.sdf数据库(不是通过编程方式-使用类似于MS Access的向导);我可以在Server Explorer中看到它以及其中的一个表以及该表的列,但是我的项目尝试访问它失败,并说该文件不存在-是的,它不存在!实际上,硬盘上无处可寻.怎么会这样它在哪里?如何将在服务器资源管理器中看到的内容写入磁盘?

I created an .sdf database in Visual Studio 2008 (not programmatically - using the MS Access-like wizard); I can see it, along with the one table that's in it, and that table's columns, in the Server Explorer, yet my project failed on trying to access it, saying the file did not exist - true, it doesn't! In fact, nowhere on the hard drive. How could that be? Where is it? How can I get what I see in Server Explorer to be written to disk?

推荐答案

磁盘上始终存在SQL Server Compact文件

A SQL Server Compact file always exists on disk

这篇关于为什么在服务器资源管理器中创建SQLServer Compact表不能在磁盘上创建.SDF文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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