database records into an array

  • Thread starter Thread starter Guest
  • Start date Start date
rodchar said:
hey all,

what's the best way to get database records into an array?

thanks,
rodchar

When you say "database records" are you referring to rows in a DataTable as
retrieved using a SQL query? Typically, such rows consist of multiple fields
with disparate data types. Arrays, by default, store multiple instances of a
single data type. Are you trying to create an array of DataRow objects?
If you could be a bit more specific about what you intend to store in your
array, I'm sure better answers will appear.
 
please disregard this. i'm confusing myself.

pvdg42 said:
When you say "database records" are you referring to rows in a DataTable as
retrieved using a SQL query? Typically, such rows consist of multiple fields
with disparate data types. Arrays, by default, store multiple instances of a
single data type. Are you trying to create an array of DataRow objects?
If you could be a bit more specific about what you intend to store in your
array, I'm sure better answers will appear.
 

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

Similar Threads

array in dataset 4
2 arrays into 1 2
An array and a datagrid 9
arrays of integers 5
Array question 3
I thought it was an easy question 7
array bound listbox 2
console app get byte array 3

Back
Top