On Oct 27, 2003, at 9:47 AM, Mark Guertin wrote:
How would I be able to setup this multidimensional data with keys as I
was looking for by making a class for it? I'm pretty new to OO stuff,
so sorry if this sounds really lame :(
You'd make a class to hold one record, basically. Each property of the
class would be a field in the record (I guess you wouldn't have to put
every field in there, just the ones you care about). Then, when you
pull a record out of the database, make a new instance of your class,
fill its properties with the data from the record, and then stick it
into the dictionary with the rowid as the key.
- - -
Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|