简体   繁体   中英

while(reader.read()) counter

如果我使用while(reader.read()...),是否有可用的内部索引来创建我自己的int counter ++交易?

您需要创建自己的索引变量。

假设readerIDataReader则不会,没有内部索引可用。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM