且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

使用sql server2008数据库在vs 2010中创建exe

更新时间:2023-02-07 11:42:46

你好,

请用描述性的方式清除你的问题,你想要吗?只需在vs 2010中设置你的代码开发,它连接到sql server 2008然后很容易。
Hi,
Please clear your question in descriptive, Are you want just make setup of your code develop in vs 2010 which is connected to sql server 2008 then its quite easy.


ok,

你可以按照以下步骤创建为您的程序设置

1.右键单击项目中的解决方案文件,然后单击添加新项目

2.在新打开的面板上单击其他项目树类型

3.你找到设置和部署选项卡点击树

4.你找到两件事一个InstallerShieldLE和Visual Studio Installer

5.点击Visual Studio安装程序

6.然后他们可以通过两种方式生成安装程序,单击SetupProject或SetupWizard

7.根据您的要求单击任何一个

8.最后您已找到三个文件夹应用程序文件夹,用户桌面和用户程序菜单

9.单击应用程序文件夹并且在构建应用程序后生成调试文件夹中的所有文件和exec。

10.然后构建所有应用程序,它将创建一个设置,您已经在启动时给出了路径。
ok,
You can follow below steps and create setup for your program
1. right click on solution file in your project and click add new project
2. click on other project tree type on new open panel
3. you find setup and deployment tab click on tree
4. you find two things one InstallerShieldLE and Visual Studio Installer
5. Click on Visual Studio Installer
6. Then their are two way you can generate setup one way to click SetupProject or SetupWizard
7. Click any one as per your requirement
8. Finally You have have found three folder Application Folder, User Desktop and User Program Menu
9. Click on Application Folder and pest all files and exec from your debug folder generated after build your application.
10. then Build all application it will create a setup where you have given path at starting.