Click here to Skip to main content
15,885,278 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am creating a Desktop Application (say for Hotel) in .Net(C#) using SQL Server in Backend.Now,I want to install this software in client's PC who is not having SQL Server in his PC.Is it mandatory for me to install the whole SQL Server software in client's PC or is there any other option so that I can avoid it.
If any other alternative is there so please Explan it.
Posted

If your database is on a different computer (backend, server) there is no need to install SQL server, just deploy the client assemblies (dll) if necessary.

Cheers
 
Share this answer
 
Is it mandatory for me to install the whole SQL Server software in client's PC
No. It is not mandatory.

If any other alternative is there so please Explan it
You just need to connect to the database server where the database is hosted in SQL Server. You can make calls to the remote server and work. Currently you must be using connection string to local system to communicate, just modify it to talk to remote DB server and you are all set.
 
Share this answer
 
I believe the database server is in your desktop environment and the client didn't have SQL Serever in his environment. If you really want to bypass SQL Server installation and to make as small changes in your application as possible use SQL Express.
Use the following link

http://www.microsoft.com/downloads/details.aspx?familyid=220549b5-0b07-4448-8848-dcc397514b41&displaylang=en[^]

Simple, isn't ??? :cool:

If that really helps you out..please make this entry as answer
 
Share this answer
 
v2

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