and performs the following actions when updating data source with DataSet changes:
当更新DataSet时更新数据源,它执行以下的操作:
Open connection
Write changes from DataSet to data source
Close connection
1.打开连接
2.将DataSet中的改变写入数据源
3.关闭数据源
In between the Fill and Update operations, data source connections are closed and you are free to read and write data with the DataSet as you need. These are the mechanics of working with disconnected data. Because the applications holds on to connections only when necessary, the application becomes more scalable.