Invalid attempt to read when no data is present.

A short one.   You are reading data from a data reader, and sometimes you hit:   Invalid attempt to read when no data is present.   It may seem obvious, but there have been occasions where this error is reported. When checking the code sample below, it is obvious what is going on, but…

2