从正在使用sql数据库的Windows窗体应用程序中制作exe文件 [英] make exe file from Windows form application which is using sql database

查看:184
本文介绍了从正在使用sql数据库的Windows窗体应用程序中制作exe文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

再次问好
如何从正在使用sql数据库的Windows窗体应用程序中制作exe文件.我想将我的应用程序安装到局域网中的另一台计算机上.是否有人对此有完整的指南?

hello again
how to make exe file from Windows form application which is using sql database.i want to install my application to another computers in a Local area network.does anybody have a complete guide for this?

推荐答案

用于制作.EXE ???每次构建应用程序时,您都要这样做.

如果您正在谈论部署应用程序,那将是另一个问题.一种取决于您正在使用的数据库引擎以及数据库的位置.

如果您确实使用SQL Server,是单独安装服务器还是使用SQL Server Express或其他版本?
For making an .EXE?? You do that every single time you Build your app.

If you''re talking about deploying your app, that''s a different question. One which depends on the database engine you''re using and where the database is going to be located.

If you really are using SQL Server, is it a seperate server install or are you using SQL Server Express, or some other edition?


您好,
您可以尝试添加一个表单,该表单登录到SQL数据库,然后将登录信息保存到注册表或文本文件中.每当您的程序启动时,这些信息就会被您的应用程序读取.您需要将 SQL客户端安装到将要安装程序的计算机上已安装.希望这会有所帮助.
Hi,
You can try adding a form which logs in to your SQL database and then saves the login info to your registry or text file. These info will then be read by your application whenever your program starts. You will need the SQL Client installed to computers where your program will be installed. Hope this helps.


这篇关于从正在使用sql数据库的Windows窗体应用程序中制作exe文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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