looping thru a query

PeentyZenom

New Member
Hi all,<BR><BR>am very new to .net and have what is probably a very easy question.<BR><BR>I want to execute a stored procedure and then loop thru the results and execute a function for each row in the results, passing to it some of the fields in the row.<BR><BR>This kind of thing in classic asp:<BR><BR>Do while not rs.eof<BR>---execute myfunc(rs.fields("column1"))<BR>rs.movenext<BR>loop
 
Back
Top