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 November 4th, 2005, 03:35 AM
Authorized User
 
Join Date: Jul 2005
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to kumar_raj13
Default Disconnected data architecture

Hello To all
How are you.
U all are familiar with ado.net disconnected data architecture. Suppose i have taken the data in the dataset. But when I update the database with the dataset i can't find some records(deleted in between when i have data in my dataset) then how the dataset will update the database.Can u give me some solution to this problem.
Thanks for ur time.
                 rajkumar

rajkumar
__________________
rajkumar
 
Old December 6th, 2005, 12:00 AM
Friend of Wrox
 
Join Date: Dec 2005
Posts: 132
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to nalla Send a message via Yahoo to nalla
Default

Hi rajkumar,

Every DataSet maintains two versions of itself. The current version, which holds the client copy of the DataSet and any changes that have occurred, and the original version, which holds the state the data was in when the DataSet was first filled. When the Update method of the DataAdapter is called, the original values are used to generate the UPDATE, INSERT, and DELETE commands that are used to perform the database update.

nalla






Similar Threads
Thread Thread Starter Forum Replies Last Post
data views using the architecture forumuser BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 3 December 5th, 2007 06:03 AM
Report from disconnected recordset DreamEagl Access VBA 4 January 9th, 2006 04:26 PM
Updating disconnected datasets AgentSmith ADO.NET 7 July 26th, 2004 10:37 AM
The object invoked has disconnected from its clien Ciarano Beginning VB 6 2 March 12th, 2004 11:38 AM





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