Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Datareader always jump one rows....

Status
Not open for further replies.

ahnugroho

Programmer
Jan 29, 2003
45
ID
Hi All,

I have problem with sqldatareader. I try to populate several data using SqlDatareader, but data which contained in datareader always skip one row.

For example : there are 3 row selected, but if i try to count using sqldatareader.read() or For...next statement always counted only 2 row.

Why ? How do i do ?
 
give us your code, and the answer will be given.

But I suspect that you gorget to count the first or the last element.

Christiaan Baes
Belgium

If you want to get an answer read this FAQ faq796-2540
There's no such thing as a winnable war - Sting
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top