Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_components thread: RE: performance decrease with COM


Message #1 by ulateef@a... on Thu, 1 Feb 2001 14:02:50 +0500

You can check it



Suppose u have declared two dimension array

Arr(5,15)



then you must use ubound in the following way



ubound(Arr,1)

To get length of first dimension



ubound(Arr,2)

To get length of second dimension





same way it will work n number of arrays



Umair Latif



Acrologix (Pvt) Ltd.

106/3, Saint Johns Park

Lahore, Pakistan.

Tel: 92-42-6664301~04      Fax: 6664307

email: ulateef@a...





Message #2 by "Chris Tucker" <chris.tucker@c...> on Fri, 2 Feb 2001 15:30:39 -0000
I would suggest using rs.GetRows() to convert the recordset into a variant

array.  Then loop through the variant array, building the <SELECT> list.  Do all

of this IN your COM component.  This way, the HTML string is built by the

time it reaches the .asp page.



You can write the component so that it either returns an HTML string (as

described above) or simply return the varaint array; this will make it

more generic.



Also, place this component into COM+/MTS; this will help.






  Return to Index