Click here to Skip to main content
15,868,016 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi guys,
Can anyone tell me how can i run a database based application on a computer without having a proper database on it.
I heard from someone that it can be possible but you have to use different queries at C# development like while adding parameters to query we have to use
C#
cmd.parameters.add(new SqlParameter("@xyz",textBox1.text));

Please tell me the whole procedure for this.
Thanks,
Akkywadhwa
Posted
Comments
codeninja-C# 1-Dec-12 6:30am    
Hi,
How could it possible!!!!
-SJ

1 solution

You don't need a "proper" database system such as Sql Server or MySql installed on your computer, you can use an instance installed elsewhere on teh local network, or in extreme cases on the internet or cloud.
However, none of this would make any difference to the way you use queries - it is only if you are using an early version of .NET that some of the more friendly query parameter methods are unavailable.

However, what I suspect you are talking about is using a database (or database like) file locally to you computer for a single user. In that case, I would recommend that you look at SqlCE or SqLite - both of which require minimal extra installation on a client PC, allthough they would require installation on the development PC.

If this is not what you are trying to do, then please try to explain a little more clearly, and we will try to help!
 
Share this answer
 
Comments
ridoy 1-Dec-12 9:33am    
+5

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