开发者

publishiing of vb.net application with setup procces

开发者 https://www.devze.com 2023-01-24 03:30 出处:网络
how can i keep the sqlse开发者_如何学编程rver install automatically when i install my project with attached my own database to sqlserver 2008 express after publish my project. what is the code i can w

how can i keep the sqlse开发者_如何学编程rver install automatically when i install my project with attached my own database to sqlserver 2008 express after publish my project. what is the code i can write to in the setup project under vb.net to keep this happened thanks a lot


To get it to install Sql Server Express, just tick the appropriate box in the prerequisites screen as described here.

To attach your db look at this article for various ways of doing it: Detaching and Attaching Databases

I think the recommended way is to use CREATE DATABASE FOR ATTACH

0

精彩评论

暂无评论...
验证码 换一张
取 消