|
-
Nov 13th, 2000, 05:19 PM
#1
Thread Starter
Member
Hello!
As a newcomer to VB and a pro in VBScript :O), I've a little performancequestion?
What gives the best performance, loop through a RS to display certain records or use an Array?
Normally i create a Rs like this:
Set rs = Server.CreateObject("ADODB.Recordset")
And I populate an Array like this:
myArr = rs.Getrows
This result in a 2-dimensional array, where
maxRecords = Ubound(myArr, 2)
Then I can use the records by, myArr(2,3) etc.
But what about the performance?
Kind regards
Janus
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|