|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
database records into an arrayhey all,
what's the best way to get database records into an array? thanks, rodchar "rodchar" <rodc***@discussions.microsoft.com> wrote in message When you say "database records" are you referring to rows in a DataTable as news:A0C26684-2A95-4493-812C-9932D845AB69@microsoft.com... > hey all, > > what's the best way to get database records into an array? > > thanks, > rodchar 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. -- Peter [MVP Visual Developer] Jack of all trades, master of none. please disregard this. i'm confusing myself.
Show quoteHide quote "pvdg42" wrote: > > "rodchar" <rodc***@discussions.microsoft.com> wrote in message > news:A0C26684-2A95-4493-812C-9932D845AB69@microsoft.com... > > 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. > > -- > Peter [MVP Visual Developer] > Jack of all trades, master of none. > > >
Re-post, Help really needed here ! Dataview binded to Textbox for edits, I can't save the change.
Create a custom collection How to re-acquire the Text from a combo box Anyone used Socketwrench? array in dataset Waiting for a process/program to start COBOL Packed decimal converter to VB decimal Capture and redirect TCP traffic filewatcher file modification updating listbox with database update |
|||||||||||||||||||||||