Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > ADO.NET
|
ADO.NET For discussion about ADO.NET.  Topics such as question regarding the System.Data namespace are appropriate.  Questions specific to a particular application should be posted in a forum specific to the application .
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ADO.NET 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 August 10th, 2004, 04:12 AM
Registered User
 
Join Date: Aug 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to deadman
Default real time updation on a offline database.

Hello,

      Is real time updation on a offline database possible?

   eg:- A user logins to my site and purchases a product, before he enters his personal details and credit card number my database went offline for a maintenance. Can I update the data entered by the user into my database even if the database is offline.


Please help me.

regards:),
John
 
Old August 10th, 2004, 09:21 AM
Friend of Wrox
 
Join Date: Jul 2004
Posts: 623
Thanks: 0
Thanked 1 Time in 1 Post
Default

why not!!!
provide us with more information...
when you change your dataset(in offline mode) you can update your datasource through a CommandBuilder(SqlCommandBuilder,OleDbCommandBuild er)..it causes to update your datasource..then you can again retrieve your new datasource.

--------------------------------------------
Mehdi.:)
 
Old August 12th, 2004, 09:15 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,101
Thanks: 0
Thanked 2 Times in 2 Posts
Default

Depends how your doing things.

If you have the data in an offline dataset, and the SQL server bounces.. you can always fluysh the dataset out when the sql server comes back- but you have to keep that dataset active and checking.. it would be a nice bit of code to do...

Why do you expect your SQL Server to go offline?


Hal Levy
Web Developer, PDI Inc.

NOT a Wiley/Wrox Employee
 
Old April 17th, 2006, 04:29 PM
Registered User
 
Join Date: Apr 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I am facing the real problem but the Idea that I want the user to run the application offline and works with the data offline and when he finished updating the offline data from the datagrid control he just click on the update button then the application connect to the sql server and update or synchronize the data .





Similar Threads
Thread Thread Starter Forum Replies Last Post
Real time data from network Nuwang .NET Framework 2.0 1 May 13th, 2008 04:34 PM
time in sql server is not real time hertendreef SQL Server 2005 6 April 19th, 2007 07:07 AM
Real Time Application of Void class pandian Java Basics 0 October 9th, 2006 05:36 PM
Real Time Calculations on Form losartan Access 10 February 10th, 2005 11:47 AM
real time calculations jman11587 Javascript How-To 4 June 29th, 2003 07:15 PM





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