|
本文档由李欣蔚(nirvana_li)翻译自http://www.csharp-station.com/,转载请注名出处! 更新日期2006-2-14
Lesson 05: Working with Disconnected Data - The DataSet and SqlDataAdapter
第五课:使用断开数据--DataSet和SqlDataAdapter
This lesson explains how to work with disconnected data, using the DataSet and SqlDataAdapter objects. Here are the objectives of this lesson:
这节课解释如何使用断开数据,使用DataSet和SqlDataAdapter对象。这里这节课的目标:
- Understand the need for disconnected data.
- Obtain a basic understanding of what a DataSet is for.
- Learn to use a SqlDataAdapter to retrieve and update data.
- 了解断开数据的需要
- 获得对于DataSet用来做什么的基本了解
- 学习如何使用SqlDataAdapter来找回和更新数据
Introduction
介绍
In Lesson 3, we discussed a fully connected mode of operation for interacting with a data source by using the SqlCommand object. In Lesson 4, we learned about how to read data quickly an let go of the connection with the SqlDataReader. This Lesson shows how to accomplish something in-between SqlConnection and SqlDataReader inte [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] ... 下一页 >> |