Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2011-10-01
2
Medium Priority
?
201 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 1000 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 1000 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

Major Serverless Shift

Comparison of major players like AWS, Microsoft Azure, IBM Bluemix, and Google Cloud Platform

Question has a verified solution.

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

The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…

730 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