Solved

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

Posted on 2011-10-01
2
193 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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
This video discusses moving either the default database or any database to a new volume.
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

757 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now