View Single Post
 
Old March 9th, 2006, 08:29 AM
Pravin kumar Pravin kumar is offline
Registered User
 
Join Date: Mar 2006
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Pravin kumar
Default Dynamic generation of ADO recordset

Hey friends, i require a solution.
i require to generate recordset dynamically, in one of my application.
for example:

<%

For i=1 to 5
  objRs = "Rs" & i
  Set objRs = Server.CreateObject("ADODB.Recordset")
   ..........
   .........
   code using recordset.
  Set objRs = Nothing
Next
%>

How can this be possible ?
I dont want to create 5 different ADO Recordset.

Please Help me out friends..