Click here to Skip to main content
15,892,269 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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.
Posted

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
 
Share this answer
 
v3
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..
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900