在Classic ASP中多次使用一个记录集 [英] Using one recordset multiple times in Classic ASP

查看:52
本文介绍了在Classic ASP中多次使用一个记录集的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的朋友们,



我正在使用Classic ASP的页面。

我需要执行查询和绑定数据到组合框。



现在我有3个组合框,其中所有3个都需要填充从查询中检索到的相同数据。

所以我需要执行3次查询,是否有任何选项只加载一次记录集并在经典ASP中多次使用它。



请指导我一样。

解决方案

我已经解决了自己。

我们可以使用

 movefirst 


Dear Friends,

I am working on a page which is in Classic ASP.
I need to execute a query and bind the data to combo box.

Now I have 3 combo box, which all 3 need to be filled with same data which is retrieved from query.
So i need to execute the query 3 times, is there any option to load the recordset only once and use it multiple times in classic ASP.

Please guide me on the same.

解决方案

I have solved myself.
We can use

movefirst


这篇关于在Classic ASP中多次使用一个记录集的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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