Click to See Complete Forum and Search --> : GetRows


ric980
September 19th, 2000, 01:45 PM
Hi,
I need to load fast a table into a listview control. So I load the table into an array using GetRows() method. But the thing is that I do not know how to use it. There are a lot of examples, but I do not know how to interpret them. I have 5 columns in my table. How do I load these 5 columns, using GetRows()? It says that the array is only 2-dimensional. I do not need code, I just need an explanation.

Thanx,
ric

vin
September 27th, 2000, 01:03 PM
Hi,

Several weeks ago I have similar problem and
I tried this getrows method.
I even tryed the (VB) example in the MSDN - it works! If you try it you may also find that it works... shtot na vc po ne se vizda

However, I noticed that getrows method needs several minutes in order to copy the loooong, long recordset contents to this n-dimensional variant-neznamtikovsi array. Emi thats way I decided to use something else nnnnali. And it works like a rifle. Guess what is it - databound multy****ing control. The good guys from Microsoft have guessed your need and have made such nice things like ADODC, FlexGrid and drugi.

Ae sa rate the post!
Ot si nemam rates.

Sencerely mine



Valery Iskarov Nikolov
http://listen.to/quark