c# - unable to read data from the Reader -
i trying display info reader
not reading it. when debug code using step on / f10
skips line
trackcollection.add(track);
and goes straight one:
reader.close();
also, added exception
@ end see what's going on skips , goes return
, returns 0 records. whereas records on 50k records.
exception code:
catch (exception ex) { console.writeline(ex.message); } homecoming trackcollection; } }
any help why it's not reading info reader
, how can work great :) .
there may 50k records in info source, query executed returns 0 of them. code within while
block skipped because datareader.read()
returns false.
c# database datareader
No comments:
Post a Comment