打印本文 打印本文 关闭窗口 关闭窗口
第四课 使用SqlDataReader读取数据(翻译)
作者:武汉SEO闵涛  文章来源:敏韬网  点击数13041  更新时间:2007/11/14 13:12:43  文章录入:mintao  责任编辑:mintao

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

Lesson 04: Reading Data with the SqlDataReader

使用SqlDataReader读取数据

This lesson explains how to read data with a SqlDataReader object.  Here are the objectives of this lesson:

本课解释了如何使用SqlDataReader对象读取数据。以下是本课的目标:

  • Learn what a SqlDataReader is used for.
  • Know how to read data using a SqlDataReader.
  • Understand the need to close a SqlDataReader.
  • 学习SqlDataReader的用法
  • 了解如何使用SqlDataReader读取数据
  • 了解如何关闭SqlDataReader的必要性

Introduction

介绍

A SqlDataReader is a type that is good for reading data in the most efficient manner possible.  You can *not* use it for writing data.  SqlDataReaders are often described as fast-forward firehose-like streams of data.

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

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