打印本文 打印本文 关闭窗口 关闭窗口
第五课 使用断开数据--DataSet和SqlDataAdapter(翻译)
作者:武汉SEO闵涛  文章来源:敏韬网  点击数15898  更新时间:2007/11/14 13:12:43  文章录入:mintao  责任编辑:mintao
将数据读入到DataSet

3.           关闭连接

and performs the following actions when updating data source with DataSet changes:

当更新DataSet时更新数据源,它执行以下的操作:

  1. Open connection
  2. Write changes from DataSet to data source
  3. 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.

Fill

上一页  [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]  ...  下一页 >> 

打印本文 打印本文 关闭窗口 关闭窗口