Loading

DbDataReader Object

A DbDataReader object provides a high-performance method of retrieving data from
the data store. It delivers a forward-only, read-only, server-side cursor. This makes the
DbDataReader object an ideal choice for populating ListBox objects and DropDownList ob-
jects.

 

The DbDataReader object contains a Read method that retrieves data into its buffer. Only
one row of data is ever available at a time, which means that all the data from the database
does not need to be completely read into the application before it is processed.

posted @ 2012-05-04 21:04  .net's  阅读(388)  评论(0)    收藏  举报