DataReader column to Array

  • Thread starter Thread starter Pablo Salazar
  • Start date Start date
P

Pablo Salazar

Hi Everybody
Exist some way to fill an array with the first column of Datareader
for example, if I have this

idPerson Name
---------- ---------
1 oscar
2 pedro
3 marisa

filla an array with idPerson Column.

Thanks for any comment.
 
Pablo said:
filla an array with idPerson Column.

A DataReader only has one record at any given moment (if that). You'll
have to step through then all and record the value into an array or an
ArrayList.

--
There are 10 kinds of people. Those who understand binary and those who
don't.

http://code.acadx.com
(Pull the pin to reply)
 
Back
Top