如何创建包含MySql数据库的Windows C#应用程序的.exe [英] How to create .exe of Windows C# application which includes MySql Database

查看:63
本文介绍了如何创建包含MySql数据库的Windows C#应用程序的.exe的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用Visual Studio 2008 c#,mysql创建了一个应用程序。



数据库在xampp服务器中退出

I have created an application using Visual Studio 2008 c#, mysql.

the database is exiting in xampp server

推荐答案

如果你真的创建了一些应用程序,.EXE是已经创建,否则你将没有应用程序,无法运行任何东西。你真的没能看到文件的位置吗?查看项目属性页面,选项卡Build,输入字段 O utput path。



默认情况下,Visual Studio为每个配置创建单独的输出,但您可以重新定义路径,按照配置/平台组合进行创建,创建自己的配置等等。对于大多数情况,它的默认方法是好的,但是修改相对路径本身很方便,特别是如果你有一个包含多个项目的解决方案。



一个重要提示:在深入研究编程之前,合理的开发人员首先要学习所使用的工具,至少查看IDE显示的所有UI元素并了解他们的工作。如果你觉得盲目折叠,为什么要浪费时间在开发上呢?



-SA
If you really created some application, .EXE is already created, otherwise you would not have an application, could not run anything. Did you really failed to see where the file is? Look at the project Properties page, the tab "Build", the input field "Output path".

By default, Visual Studio create separate outputs per Configuration, but you can redefine the paths, make it per Configuration/Platform combinations, create your own configurations, and so on. The default approach for it is good for most cases, but it's convenient to modify the relative paths themselves, especially if you have a solution with more than one project.

One important note: before delving into programming, a reasonable developer first learns the tools used, at least looks at all the UI elements shown by the IDE and learns what they do. Why wasting time on development if you feel blind-folded?

—SA


这篇关于如何创建包含MySql数据库的Windows C#应用程序的.exe的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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