打印本文 打印本文 关闭窗口 关闭窗口
第五课 使用断开数据--DataSet和SqlDataAdapter(翻译)
作者:武汉SEO闵涛  文章来源:敏韬网  点击数15903  更新时间:2007/11/14 13:12:43  文章录入:mintao  责任编辑:mintao
并将更新返回给数据库。你不需要担心打开和关闭数据库的连接,因为SqlDataAdapter自动完成了。一个SqlComandBuilder基于SqlDataAdapterselect语句产生insert,updatedelete命令。使用SqlDataAdapterFill方法对DataSet填充数据集。调用SqlDataAdapterUpdate方法将改变返回给数据库。

I hope you enjoyed this lesson and welcome you to return to the next one in this series, Lesson 06:  Adding Parameters to Commands.

For further questions, you are welcome to participate in the C# Station Discussion Forums.

Your feedback is very important and I appreciate any constructive contributions you have.  Please feel free to contact me for feedback or comments you may have about this lesson.

 

 

 << 上一页  [11] [12] [13] [14] [15] [16] [17] [18] 

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