记录集与数组? [英] Recordsets vs. Arrays?

查看:123
本文介绍了记录集与数组?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用

数组解析记录集verus是否有性能优势?


我正在尝试通过返回来填充列表框来自我的

数据库的数据,然后通过记录集解析直到我到达EOF,或者

将数据放入数组中。


感谢您的帮助。

Is there a performance advantage to parsing thru a recordset verus using an
array?

I''m currently trying to populate a listbox by returning data from my
database, then either parsing thru the recordset until I reach the EOF, or
putting the data into an array.

Thanks for your assistance.

推荐答案

SABmore写道:
SABmore wrote:
通过记录集解析是否有性能优势verus
使用数组?

我正在尝试通过从我的数据库中返回数据来填充列表框,然后通过记录集解析直到我到达
EOF,或将数据放入数组中。

感谢您的帮助。
Is there a performance advantage to parsing thru a recordset verus
using an array?

I''m currently trying to populate a listbox by returning data from my
database, then either parsing thru the recordset until I reach the
EOF, or putting the data into an array.

Thanks for your assistance.




最终答案如下:
http://www.aspfaq.com/show.asp?id = 2467


Bob Barrows

PS。我对listboxes的偏好是使用GetString

-

Microsoft MVP - ASP / ASP.NET

请回复新闻组。我的From

标题中列出的电子邮件帐户是我的垃圾邮件陷阱,因此我不经常检查它。通过发布到新闻组,您将获得更快的回复。



The definitive answer is here:
http://www.aspfaq.com/show.asp?id=2467

Bob Barrows
PS. My preference for listboxes is to use GetString
--
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.


Bob Barrows [MVP]写道:
Bob Barrows [MVP] wrote:
http://www.aspfaq.com/show.asp?id= 2467

PS。我对列表框的偏好是使用GetString
http://www.aspfaq.com/show.asp?id=2467

PS. My preference for listboxes is to use GetString




有没有办法在你这样做时插入SELECTED属性?


-

戴夫安德森


未经请求的商业电子邮件将以每封邮件



Is there a way to insert the SELECTED attribute when you do this?

--
Dave Anderson

Unsolicited commercial email will be read at a cost of


500的费用阅读。使用

此电子邮件地址即表示同意这些条款。请不要直接联系

我或要求我直接与您联系以获取帮助。如果您的

问题值得询问,那就值得发帖。
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.


这篇关于记录集与数组?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆