View Single Post
  #4 (permalink)  
Old 08-06-03, 03:37 PM
MadDog MadDog is offline
Code Master
 
Join Date: Aug 2003
Posts: 935
Thanks: 0
Thanked 0 Times in 0 Posts
This would be what you want to use for the code,

Code:
<%
Dim i
Dim tot1
Dim totval

i = 1

Do WHILE NOT tabla.EOF
	totval = int(tabla.RecordCount)
	tot1 = 0
%>
 <tr> 
  <td><% = tabla("codigo") %></td>
  <td><% = tabla("titulo") %></td>
  <td><input type="checkbox" name="cb&<% = i %>" value="<% = tabla("codigo") %>"></td>
 </tr>
<%
	i = i + 1
tabla.MoveNext
Loop
%>
__________________
Drew Gauderman
ASP - MSSQL Coder / Buisness Owner / Coder for Hire!
MSN-ICQ-AIM-YIM in Profile

http://www.iportalx.net an easy ASP portal system.
Reply With Quote