Solved

how to store a database record into web server in windows application ?

Posted on 2011-10-01
2
198 Views
Last Modified: 2012-05-12
how to store a database record into web server in windows application ?

           
0
Comment
Question by:tamilsoft
2 Comments
 
LVL 14

Accepted Solution

by:
binaryevo earned 250 total points
ID: 36896911
Assuming the windows application is on a different network, you should probably create a web service that lives on the web server and consume that web service in your windows application.  Take a look at the following tutorial and let me know if you need more info:

http://msdn.microsoft.com/en-us/gg465169
0
 

Assisted Solution

by:YSWW
YSWW earned 250 total points
ID: 36898777

If the Windows application is running at the same network or on web server:

In Windows application, you can retrieve data from database to a DataSet then export DataSet data to a file with specific format in a subdirectory of web server.
Data Type Mappings in ADO.NET: http://msdn.microsoft.com/en-us/library/4e5xt97a.aspx
DataSet Class: http://msdn.microsoft.com/en-us/library/system.data.dataset.aspx
DataSet.WriteXml Method: http://msdn.microsoft.com/en-us/library/cf2bk29a.aspx

That subdirectory needs to be shared to the Windows application running account for full control.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question