Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 2005 > C# 2005
|
C# 2005 For discussion of Visual C# 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# 2005 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 10th, 2007, 02:05 AM
Registered User
 
Join Date: Oct 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Saving data into Xml file when connection is lost

Hi,
 I want to save my data on to a Xml file temporarily whenever database connection is not available.Finally read that xml file and store that data in to the database when connection is available.
        Please suggest me in this regard.Expecting quick reply.

Thanks in advance
chandu

 
Old October 10th, 2007, 07:25 AM
joefawcett's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

Okay, so what part are you stuck on? You'll need to devise a suitable XML format that represents your data, check if the connection's available. If not write to the XML. When the connection is available then transfer the XML to the database and deal with any concurrency issues.

--

Joe (Microsoft MVP - XML)





Similar Threads
Thread Thread Starter Forum Replies Last Post
saving query result to xml file p2pMember SQL Server 2005 0 January 15th, 2008 03:37 AM
saving html content as xml data using javascript ravillasubhash Javascript How-To 0 May 23rd, 2007 08:11 AM
Saving DataSet data on client machine in .csv file balesh ASP.NET 1.0 and 1.1 Professional 0 October 25th, 2006 06:17 AM
efficiency qn - writing and saving xml file ak Classic ASP XML 1 March 2nd, 2004 05:26 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.