Click here to Skip to main content
15,886,689 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
i want to create a window form application having a database, while deploying at another system i do not need third party tool installation for database like sql server. so please tell me how to maintain the database please help me.

What I have tried:

i tried to create an application file and install it on another system but database was created in sql server, but while installing on another system it need sql server on target system, but i do not want to do like that, so please help me to do that.
Posted
Updated 18-Apr-16 3:25am
Comments
ZurdoDev 18-Apr-16 9:28am    
What is your question?
Sergey Alexandrovich Kryukov 18-Apr-16 9:57am    
Windows.Forms application? With ASP.NET? Enough. Next question?
—SA
Priyank_Mittal 19-Apr-16 1:58am    
How have u made the DB connection? via wizard mode or via WebConfig..?????

1 solution

If your code uses SqlConnection objects, then it needs an SQL Server instance in order to work. However, you could change your code to use a different database system.
However...if you need this to work in a multiuser environment, then you need a server based system such as SQL Server or MySql - although you can use Access as a multiuser DB it always gives horrible problems and is really not worth the effort.
If you only need single user access they SQLite or Access should work fine - but you will need to change your code to use the appropriate objects, and may have to revise some of your SQL code to match the new DB as not all systems work in the same way.

There is no "magic bullet" that will let you use SQL Server without having it installed somewhere in the network that is accessible to your application.
 
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