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
Solved

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

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

How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

Question has a verified solution.

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

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

856 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