for RuBoard |
Over the last two days, you've delved pretty deeply into the DataSet in order to understand the various ways you can work with it programmatically and how it is structured. During that time, you've seen several examples of data modifications and how they are represented without being given the big picture. Today, you'll put the pieces together in a shorter lesson to form a complete picture of how and when changes are tracked in a DataSet .
Although today's discussion will focus on modifying data, it won't discuss how data is actually synchronized with the underlying data store. That discussion will have to wait for Day 12, "Using Data Adapters," when you learn about data adapters.
However, today you'll learn the following concepts:
How row states and row versions are tracked
How the GetChanges method is used to filter rows
What a DiffGram is and how it is used by a DataSet
When and why to call the AcceptChanges , RejectChanges , and Reset methods of the objects within a DataSet
for RuBoard |