Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
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
cmd.parameters.add(new SqlParameter("@xyz",textBox1.text));
Please tell me the whole procedure for this.
Thanks,
Akkywadhwa
Posted 1-Dec-12 1:22am
Comments
CodeNinja-C# at 1-Dec-12 6:30am
   
Hi,
How could it possible!!!!
-SJ

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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!
  Permalink  
Comments
ridoy at 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)

  Print Answers RSS
0 OriginalGriff 280
1 Sergey Alexandrovich Kryukov 279
2 CPallini 205
3 Maciej Los 162
4 Afzaal Ahmad Zeeshan 160
0 OriginalGriff 5,635
1 DamithSL 4,496
2 Maciej Los 3,942
3 Kornfeld Eliyahu Peter 3,480
4 Sergey Alexandrovich Kryukov 3,180


Advertise | Privacy | Mobile
Web02 | 2.8.141216.1 | Last Updated 1 Dec 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100