Click here to Skip to main content
15,895,667 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi friends now i am going to do a project for a departmental store for that i have to store my data to xml and whenever connection established with the server i have to store the data to database. How to do it? I don't have any idea.
Posted
Comments
walterhevedeich 18-May-11 1:49am    
You'll have lots of ideas if only you use Google.

This is not a problem, this is a task.

There is no special secrets which can be conducted in one or two answers to direct you at once. Learn about each aspect separately, do all the design and development work and then ask your questions of you face any problems. This is where CodeProject can really help you effectively.

—SA
 
Share this answer
 
Do as SA suggests.
Some good links are LINQ to XML[^] for storing and retrieving XML data in a file and SqlConnection[^] database connection (but it depends on what type of database you use)
 
Share this answer
 
As I said in my comment, you'll find lots of ideas in Google. You mentioned that you dont have any idea on how you will do your project. You need to do some reading about how software applications are being created(i.e. from planning phase to implementation and maintenance). Assuming you are going to use C#(as what is indicated in the tag), you might also need to read about ADO.Net. See below link. It has also some sample codes for you to have a headstart.

Using ADO.NET for beginners[^]
 
Share this answer
 
v2
 
Share this answer
 
Comments
Eustass Kid 18-May-11 6:23am    
comment comment ra ne xa para mka points...:))
jcosep 18-May-11 20:46pm    
haha taya di oe para makatabang man gud nah~

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