Aqui les dejo el codigo:
Código:
espero y me orienten, ok..gracias y chao... iscolor = true nR=1 for row = Inicio to Inicio + (PorPagina - 1) if nR=1 then Response.write "<table align=center class='cal2' width='100%'><tr><td width='10%' bgcolor='#BBD1E8' align=center><A HREF='adialu.asp'><img src='images/btnAdd.gif' alt='Adicionar' border='0'></a></td><td width='20%' bgcolor='#BBD1E8' align=center><b>IDENTIFICACION</b></td><td width='30%' align=center bgcolor='#BBD1E8'><b>APELLIDOS</b></td><td width='30%' align=center bgcolor='#BBD1E8'><b>NOMBRES</b></td><td width='10%' align=center bgcolor='#BBD1E8'><b>PROGRAMAS</b></td></tr>" nR=2 end if response.write "<tr bgcolor=#EFEFEF>" if rs.eof then exit for if iscolor then iscolor=false else iscolor=true end if %> <td align=left bgcolor='#BBD1E8'> <p align="center"><a href='edialu.asp?cual=<%= rs.Fields("idalumno").Value %>'> <img src='images/btnEdit.gif' border='0' alt='Editar' name='Edit1'></a> <a href='elialu.asp?cual=<%= rs.Fields("idalumno").Value %>'> <img src='images/btnDelete.gif' border='0' alt='Eliminar' name='Delete1'></a></td> <td valign=top align=left bgcolor='#BBD1E8'><%= rs.Fields("idalumno").Value %></td> <% response.write "<td>" & Trim(rs("apellidos")) & "</td>" if Len(rs("nombres"))> 0 then response.write "<td bgcolor='#EFEFEF'>" & Trim(rs("nombres")) & "</font></td>" end if response.write "<td>" & Trim(rs("idprograma")) & "</td>" response.write"</tr>" i = i + 1 rs.movenext next Response.write "</table>" rs.close set rs= nothing conn.close Set conn = Nothing %>
