After connecting to the database using DataReader, how can I calculate the quantity rows?
DataReader
rows
Thank.
Reading data is only forward, therefore, they do not have a counter at the first filling. You can do several things to solve this problem:
Here is example # 1:
Without NextResult: http://www.devx.com/vb2themax/Tip/18807
NextResult ( , , NextResult): http://bytes.com/topic/asp-net/answers/295793-datareader-nextresults-question
№ 2: http://support.microsoft.com/kb/308050
Read().
Read()
A DataReader - .
Source: https://habr.com/ru/post/1750603/More articles:Database tables - how many databases? - databasecss anchor div to foot page - htmlUsage patterns / use cases for DI or when to use it - dependency-injectionAdd JS file to a specific page on Drupal - javascriptDrupal 6: best practice for modifying an added JavaScript module - drupalRubista: What is it called? - ruby | fooobar.comConvert HTML to its safe objects using Javascript - javascriptiPhone Datepicker plays tick sound - iphoneProblem with Railscast # 197 - Nested Model Part 2 - javascriptrails 3 and jquery railscast 197 releases - jqueryAll Articles