附加SQL数据库asp.net web应用程序 [英] Attaching sql database to asp.net web application

查看:108
本文介绍了附加SQL数据库asp.net web应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要到SQL Server数据库附加到我的asp.net web应用程序。我该怎么办呢?

I want to attach the sql server database to my asp.net web application. How can i do it ?

请帮我

感谢您在期待

推荐答案

右键单击应用程序数据文件夹,选择添加|新项,然后选择SQL数据库

Right click you AppData folder and select add|new item then select SQL Database

您就可以使用Visual Studio数据库工具来开发数据库。

You can then use the Visual Studio database tools to develop the database.

Remeber,当你发布你的网站,请确保您已选择包括在您发布脚本AppData文件夹中的内容

Remeber, when you publish your site, ensure you have selected to include the contents of the AppData folder in your publish script

这篇关于附加SQL数据库asp.net web应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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