简体   繁体   English

如何在项目设置中添加SQL Server数据库

[英]How can I add SQL Server Database in my project setup

I am using Visual Studio 2010 with C# and I am making a project. 我将Visual Studio 2010与C#结合使用,并且正在制作一个项目。 I used SQL Server Database in my project but I cant finish. 我在项目中使用了SQL Server数据库,但无法完成。 I can't setup (exe). 我无法设置(exe)。 How can I add SQL server in my project setup? 如何在项目设置中添加SQL Server? I can't find any video or article 我找不到任何视频或文章

Thanks All 谢谢大家

You can search on SQL Server Management Objects . 您可以搜索SQL Server管理对象

You need to create a project like DBConfig or something and you need to add that project in your setup. 您需要创建一个像DBConfig之类的项目,或者需要在安装程序中添加该项目。 In your DbConfig project you can use SMO concepts to read the database, tables, execute the query etc. 在您的DbConfig项目中,您可以使用SMO概念来读取数据库,表,执行查询等。

Hope this will help. 希望这会有所帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在Visual Studio 2010中使用我的设置和部署项目部署SQL Server数据库? - How can I deploy the SQL server database with my setup and deployment project in Visual Studio 2010? 如何将SQL Server 2008 R2数据库添加到Visual Studio 2010安装文件中? - How to add my SQL Server 2008 R2 database to my Visual Studio 2010 Setup File? 无法将sql数据库添加到我的项目 - can't add a sql database to my project 我如何以编程方式发布SQL Server数据库项目? - How can I programatically publish a SQL Server Database Project? 我应该将哪个版本的 SQL Server 添加到我的安装文件中? - Which version of SQL Server should I add to my setup file? 如何将SQL Server数据库中的图像添加到DataGrid? - How can I add images form a SQL Server database to a DataGrid? 如何在应用程序设置中部署Sql Server数据库? - How can I deploy a Sql Server database as part of an application's setup? 如何在ASP.NET Core项目中指向我的完整SQL Server Express数据库? - How do I point to my full SQL Server Express database in ASP.NET Core project? 如何将SQL Server数据库文件添加到C#项目? - How to add SQL Server database file to a C# project? 如何将此控件添加到我的项目中? - How can I add this controls to my project?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM