ASP.NET & Databases Part 3
page 2 of 5
by . .
Feedback
Average Rating: This article has not yet been rated.
Views (Total / Last 10 Days): 19653/ 63

The Database Relationship

DataSet <-> Data Source

The connection between the DataSet and the data source is usually provided with a DataAdapter. Once a DataSet has got the data it is disconnected from the data source, whatever changes you make to the data are kept in the DataSet until you update the data source.

States:

  • Original This state is how the data was when it first came into the dataset. This cannot be modified, if you try to modify it, its put into one of the other two states.

  • Current This state is the data when you modify it, it holds the modified rows.

  • Proposed This state is the proposed data to be sent to the data source. The difference between this and the Current State is that this one is entered by using Edit Mode and imposes the rules of the data source immediately (the Current only enforces them when it updates the dataset).

You don't really need to worry about these, what we'll be concentrating on is the the current data (with changes).


View Entire Article

User Comments

Title: ASP.NET & Databases : Part 3   
Name: ttt
Date: 2005-04-01 1:27:18 PM
Comment:
good

Product Spotlight
Product Spotlight 





Community Advice: ASP | SQL | XML | Regular Expressions | Windows


©Copyright 1998-2019 ASPAlliance.com  |  Page Processed at 2019-06-16 1:05:11 PM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search