C#独立应用程序与sql数据库 [英] C# stand alone application with sql database
本文介绍了C#独立应用程序与sql数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
任何人都可以通过使用sql db提供示例c#应用程序来帮助我。以及如何通过制作exe文件来部署它。它应该适用于任何系统。
解决方案
首先阅读本...
了解ADO.NET的初学者教程 [ ^ ]
然后阅读本文并下载源代码并进行调试......
为初学者使用ADO.NET [ ^ ]
如果您只想要.exe文件...
您只需编译/构建并运行您的项目。然后在YourProject\bin\Release(或bin \Debug)文件夹中,.exe将在那里。
和用于创建SetUp您应该参考以下链接。
http:// www.thecodekey.com/Articles/C_VB/Create_Setup_in_Windows_Application.aspx [ ^ ]
http://www.msdotnet.co.in/2012/06/how-to-create-setup-fileexe-file-from.html [ ^ ]
http:// balanagaraj .wordpress.com / 2007/05 /第29 /创建-EXE-或集up-file-in-net-windows-application / [ ^ ]
希望这有助于你。
-------------------------
Pratik Bhuva
下面是一个基本的Windows应用程序,你可以检查
simple-login-application-in-windows-c / [ ^ ]
这就是步骤创建一个exe文件
create-exe-or-setup-file-in-net-windows-application / [ ^ ]
希望它会有所帮助..
< blockquote>检查这一组。
.NET自动安装SQL 2005 Express的安装程序 [ ^ ]
在安装.NET应用程序期间创建数据库 - 版本2 [ ^ ]
部署您的应用程序和数据库 [ ^ ]
FYI
将SQL Server Express嵌入自定义应用程序 [ ^ ]
如何:使用应用程序部署SQL Server Compact 4.0数据库 [ ^ ]
如何在应用程序中嵌入SQL Server Express [ ^ ]
Can anyone help me by giving a sample c# application with sql db . And how to deploy it by making it exe file.And it should work in any system.
解决方案
First Read This...
A Beginner's Tutorial for Understanding ADO.NET[^]
Then Read This and download source and debug it...
Using ADO.NET for beginners[^]
If you Want just .exe file...
You just compile/Build and Run Your Project. then in YourProject\bin\Release (or bin\Debug) folder, the .exe will be in there.
And For Creating SetUp You should Refer following links.
http://www.thecodekey.com/Articles/C_VB/Create_Setup_in_Windows_Application.aspx[^]
http://www.msdotnet.co.in/2012/06/how-to-create-setup-fileexe-file-from.html[^]
http://balanagaraj.wordpress.com/2007/05/29/create-exe-or-setup-file-in-net-windows-application/[^]
Hope This Helps you.
-------------------------
Pratik Bhuva
Below is a basic windows application you can check
simple-login-application-in-windows-c/[^]
and this is the steps of creating a exe file
create-exe-or-setup-file-in-net-windows-application/[^]
Hope it will help..
Check this bunch.
.NET Installer that Automatically Installs SQL 2005 Express[^]
Create database during installation of a .NET application - Version 2[^]
Deploy your Application and Database[^]
FYI
Embedding SQL Server Express into Custom Applications[^]
How to: Deploy a SQL Server Compact 4.0 Database with an Application[^]
How to Embed SQL Server Express in an Application[^]
这篇关于C#独立应用程序与sql数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文