Click here to Skip to main content
15,886,049 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello Frnds,

I am developing a windows form application and now I want to save some data in clients system for that application just like store in sql.

so, whats is best and efficient method or Technic to store application data for window application.

In my application there is only read and create operation, data is in text/numeric format and want table structure and relations of that the data is not more complex and security is not worry now.

Any Idea about that.

Thanks in Advance.
Posted
Updated 26-Oct-13 8:35am
v2

We can hardy answer your question in a manner that will really help you, since you provided far too few information about your needs.
The answer depend on:
- CRUD balances (which is more intensive of the four operations)
- the kind (text, numeric, blob) and structure (more like DOM or more like tables and relations) of the data you want to store
- the amount of data you want to store
- the security needs
- licensing
..and some other aspects
 
Share this answer
 
Comments
ExpertITM 26-Oct-13 14:30pm    
HiIn my application there is only read and create operation, data is in text/numeric format and want table structure and relations of that the data is not more complex and security is not worry now.
Thanks.
Zoltán Zörgő 26-Oct-13 16:29pm    
Than I suggest using SQLite. It has all that you need. It is lightweight and fully supported under dot.net. It is an embedded engine, that means you don't need to install anything. Just deploy the necessary dlls and you got it.
Check this article: http://www.codeproject.com/Articles/236918/Using-SQLite-embedded-database-with-entity-framewo
You will find many different providers on the web (besides the original ones (see here)), so look around there and in your pocket (you might find some worth couple dollars).
From windows application if you want store your data in client side i think one of the 3 solutions you can choose.

1. Client side you can store your data to an xml file.
2. You can set up sql database like sql express to the client and store data there.
3. You can store data as csv format to the client pc.


If data not too much then i prefer xml is the best option. XLinq is very powerfull tool in .NET framework for reading/writing xml file. If data volume is huge and letter you need to syncronous that data to your main database server then you can use solution 2.
 
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