View Single Post
  #5 (permalink)  
Old 09-10-09, 04:35
gvee gvee is offline
www.gvee.co.uk
 
Join Date: Jan 2007
Location: UK
Posts: 10,156
You should stick with sprocs.
Code:
<%

Dim rs

Set rs = Server.CreateObject("ADODB.Recordset")

Set rs = ObjCmd.Execute

While Not rs.EOF
  Response.Write(rs.Fields("name_of_first_field")
  Response.Write(rs.Fields("name_of_first_field")

  rs.MoveNext
Loop
Please note that this is air-code (i.e. written from memory and un-tested.
__________________
George
Twitter | Blog
Reply With Quote