PiGei wrote:
> hi all,
> I'm using the following code to read articles from a db and show them
> by columns and not by rows.
> I think the code could be better... so, if you have some advice...
You might want to consider using GetRows():
http://msdn.microsoft.com/library/en...mthgetrows.asp
This is why (thanks to ASP FAQ):
"By its very nature, the 2-dimensional array returned by the GetRows
method is non-linear. This has important implications for the ways
in which the result set data can be processed. The data in the result
set can be processed in a row-by-row, column-by-column or cell-by-cell
manner, or any combination there-of. Formatting can also take place at
the row, column and/or cell level."
http://aspfaq.com/show.asp?id=2467
--
Dave Anderson
Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms. Please do not contact
me directly or ask me to contact you directly for assistance. If your
question is worth asking, it's worth posting.