Link to home
Start Free TrialLog in
Avatar of DerekWatling
DerekWatlingFlag for South Africa

asked on

DataReader EOF?

Is there any way with a .NET DataReader to tell when you are working with the last record? Something like EOF in classic ASP.
ASKER CERTIFIED SOLUTION
Avatar of Guy Hengel [angelIII / a3]
Guy Hengel [angelIII / a3]
Flag of Luxembourg image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of DerekWatling

ASKER

I'm doing that in VB. Inside the WHILE loop I want to have something like IF MyReader.EOF THEN ...
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
For formatting I wanted to know when I was on the last record. Using CSS I have managed to get what I want after the fact.