UBC_Wiskatos
Nov 23rd, 2000, 06:09 PM
Hi!
I'm having problems finding any information on this, and I have looked through the 'net and books to no avail. Basically, what I need is the code (if you can explain it, great) to load the results from a query called SELECT * FROM table WHERE name LIKE *'blah'*. I need the results to be added to a two-dimensional array.
So you'd have results like this
Name Author Path Source
Blah John Dunno Ddddd
Bluh Robert Lalala dddd
Blih DDMax Frana dddd
Blma OPUS SSSS ddddd
Let's say the results are this in the table, so I want the two-
dimensional array to be loaded with all the info, that way I can send it as type variant through WinSock (If anyone has code for that or a better way to accomplish this, plz share)...
So, once that code is done, I need, plz, code (as documented as
possible plz, I'm new to this and I'm working hard on this project) that can load the contents of the array into a ListView control. (The listview one is the one you can see for example, when browsing with Explorer (File) and you see detailed view). Any help, suggestions, code, hints, or tutorials are welcome and greatly appreciated!
I'm having problems finding any information on this, and I have looked through the 'net and books to no avail. Basically, what I need is the code (if you can explain it, great) to load the results from a query called SELECT * FROM table WHERE name LIKE *'blah'*. I need the results to be added to a two-dimensional array.
So you'd have results like this
Name Author Path Source
Blah John Dunno Ddddd
Bluh Robert Lalala dddd
Blih DDMax Frana dddd
Blma OPUS SSSS ddddd
Let's say the results are this in the table, so I want the two-
dimensional array to be loaded with all the info, that way I can send it as type variant through WinSock (If anyone has code for that or a better way to accomplish this, plz share)...
So, once that code is done, I need, plz, code (as documented as
possible plz, I'm new to this and I'm working hard on this project) that can load the contents of the array into a ListView control. (The listview one is the one you can see for example, when browsing with Explorer (File) and you see detailed view). Any help, suggestions, code, hints, or tutorials are welcome and greatly appreciated!