淘宝店:http://shop33617014.taobao.com/

C#中NextResult 的使用

上一篇 / 下一篇  2006-12-19 17:28:09 / 个人分类:收藏

使用ExecuteReader时,可以通过调用 NextResult 将结果集指针向前移动。

reader = sqlCommand.ExecuteReader();钱塘个人空间]gJQp!d
while (reader.Read())
&Xiu.cF8A4W-E;_$\L0  suppliers = PopulateSuppliersFromIDataReader(reader);钱塘个人空间Z3q(ZgM0`6of:H*fp/B
// 将结果集指针向前移动钱塘个人空间-@^&iWRHV
reader.NextResult();
C!?tR5C4\0p:R1Oc0while (reader.Read())钱塘个人空间4wm|-m]J'hb
  products = PopulateProductsFromIDataReader(reader);


TAG: 收藏

引用 删除 nZZcPRFp   /   2007-01-03 09:33:49

joCZTkAJBmo

KOGhqBXTE ZOzGxkHyCov [URL=http://irvuglkxjhfn.com/]kqIQUTEDAHKbO[/URL]
 

评分:0

我来说两句

显示全部

:loveliness: :handshake :victory: :funk: :time: :kiss: :call: :hug: :lol :'( :Q :L ;P :$ :P :o :@ :D :( :)

日历

« 2009-01-09  
    123
45678910
11121314151617
18192021222324
25262728293031

数据统计

  • 访问量: 7239
  • 日志数: 48
  • 图片数: 25
  • 商品数: 3
  • 文件数: 2
  • 书签数: 28
  • 建立时间: 2006-05-27
  • 更新时间: 2007-05-10

RSS订阅

Open Toolbar