找不到使用SQL Sever Management Studio Express创建的SQL数据库 [英] Can not find SQL database created using SQL Sever Management Studio Express

查看:73
本文介绍了找不到使用SQL Sever Management Studio Express创建的SQL数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我使用Microsoft SQL Sever Management Studio Express创建了一个数据库,但是在我的计算机上找不到它.我也无法按名称搜索.
我需要将其复制到我的应用程序的App_data中,但是如何?



请帮忙.

Hi,
I created a database using Microsoft SQL Sever Management Studio Express but I could not find it on my computer. I could not search it by name as well.
I need to copy it to App_data of my application, but how?



Please help.

推荐答案

打开管理工作室,选择您创建的数据库并打开属性.您将在其中找到文件和目录.

笔记.您不能仅将文件移动到另一个位置.最可能的最简单方法是分离数据库,移动文件,然后再次附加.有关更多信息:
- http://msdn.microsoft.com/en-us/library/ms191491.aspx [ ^ ]
- http://msdn.microsoft.com/en-us/library/ms190209.aspx [ ^ ]
Open the management studio, select the database you have created and open the properties. There you will find the files and directories.

Note. You cannot just move the files to another location. Most likely the easiest way is to detach the database, move the files and then attach again. For more info:
- http://msdn.microsoft.com/en-us/library/ms191491.aspx[^]
- http://msdn.microsoft.com/en-us/library/ms190209.aspx[^]


数据库无法复制到ur app_data ..
你只连接到它.
使用sqlconnection或saldatasource
database cannot be copy to ur app_data..
u only connect to it..
using sqlconnection or saldatasource


这篇关于找不到使用SQL Sever Management Studio Express创建的SQL数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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