第三课 SqlCommand对象(翻译)[1]

[入库:2006年2月23日] [更新:2007年3月24日]

本文简介:

本文档由李欣蔚(nirvana_li)翻译自http://www.csharp-station.com/,转载请注名出处!
更新日期2006-2-14

Lesson 03: The SqlCommand Object

SqlCommand对象

This lesson describes the SqlCommand object and how you use it to interact with a data base.  Here are the objectives of this lesson:

这节课描述了SqlCommand对象以及如何使用它与数据库交互。下面是本课的目标:

  • Know what a command object is.
  • Learn how to use the ExecuteReader method to query data.
  • Learn how to use the ExecuteNonQuery method to insert and delete data.
  • Learn how to use the ExecuteScalar method to return a single value.
  • 知道什么是command对象
本文关键:第三课 SqlCommand对象(翻译)
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top