Hello,
I have made a table where I print out data from a database. I would like to number all of the rows using this code:
This should appear within this code:
...
Can someone please help me out?
Sincerely,
Sonrie
I have made a table where I print out data from a database. I would like to number all of the rows using this code:
Code:
<%
Do While Not rs.EOF
i = 0
Response.Write(i)
i = i + 1
Loop
%>
Code:
<% While ((Repeat1__numRows <> 0) AND (NOT rs.EOF)) %>
Code:
<%
Repeat1__index=Repeat1__index+1
Repeat1__numRows=Repeat1__numRows-1
rs.MoveNext()
Wend
%>
Sincerely,
Sonrie