Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Accessible Windows Application
Message
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00823023
Message ID:
00823129
Views:
33
Wierd. Are you doing Asyncronous exection? What is the value of RecordsAffected property after you close the data reader?

>Hi- There's not a ton to say. The sql is fairly straigtforward, and when I run it in the query analyzer I'd get, for example, 19 rows.
>
>When I create a DataTable with the same SQL, I'll get 19 Rows
>( dt.Rows.Count == 19 )
>
>When I create the reader and do like this:
>
>counter = 0;
>while ( dr.Read() ) {
>//In here look at the reader's contents for this row
>counter ++;
>}
>
>at the end of this, the counter == 14;
>
>There's really not much to it.
>
>Any ideas? Anything else i can provide?
>
>db
- Jayesh
Previous
Reply
Map
View

Click here to load this message in the networking platform