Solved

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

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

           
0
Comment
Question by:tamilsoft
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

752 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