For Programmers: Free Programming Magazines  


Home > Archive > ASP > October 2006 > Urgent help need in ASP









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Urgent help need in ASP
rk2008@gmail.com

2006-10-30, 6:58 pm

I have a dll returning a variant array of 40,000 rows to an ASP page. I
can't use a Variant variable in ASP since the maximum rows it accepts
is 32717 approx. Can someone advice how to get the Variant array
returned by the dll into the ASP page?
Thanks!

Bob Barrows [MVP]

2006-10-30, 6:58 pm

rk2008@gmail.com wrote:
> I have a dll returning a variant array of 40,000 rows to an ASP page.
> I can't use a Variant variable in ASP since the maximum rows it
> accepts is 32717 approx. Can someone advice how to get the Variant
> array returned by the dll into the ASP page?
> Thanks!

return it as a delimited string and use Split() to process it? Or
perhaps an xml document?
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.


rk2008@gmail.com

2006-10-30, 6:58 pm

I am not supposed to change the dll.Is there any other way?
Thanks

Bob Barrows [MVP] wrote:
> rk2008@gmail.com wrote:
> return it as a delimited string and use Split() to process it? Or
> perhaps an xml document?
> --
> Microsoft MVP -- ASP/ASP.NET
> Please reply to the newsgroup. The email account listed in my From
> header is my spam trap, so I don't check it very often. You will get a
> quicker response by posting to the newsgroup.


Jon Paal

2006-10-30, 6:58 pm

I can't imagine anybody wants to see 40,000 rows in a page.

use paging so the user only sees a limited number of rows and then can step through the results in chunks



<rk2008@gmail.com> wrote in message news:1161282079.705548.158730@i42g2000cwa.googlegroups.com...
>I have a dll returning a variant array of 40,000 rows to an ASP page. I
> can't use a Variant variable in ASP since the maximum rows it accepts
> is 32717 approx. Can someone advice how to get the Variant array
> returned by the dll into the ASP page?
> Thanks!
>



Anthony Jones

2006-10-30, 6:58 pm


<rk2008@gmail.com> wrote in message
news:1161282079.705548.158730@i42g2000cwa.googlegroups.com...
> I have a dll returning a variant array of 40,000 rows to an ASP page. I
> can't use a Variant variable in ASP since the maximum rows it accepts
> is 32717 approx.


The max number of elements in array is 2^32. Perhaps you are running into
another limitation like the amount memory being used.


>Can someone advice how to get the Variant array
> returned by the dll into the ASP page?
> Thanks!
>



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com