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)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top