<!--#include file="conecta_banco.asp"--> <% set listar = server.CreateObject("ADODB.Recordset") listar.open "Select * from socios where mostrar='sim' order by nome asc",conexao <%dim conta%> <table border = 0 align="center" cellpadding="2" cellspacing="2" bordercolor="#000000"> <% do while not listar.eof%> <%for conta = 1 to contador step 1%> <% 'aqui vem a tabela com os dados, o for serve para dividir em linhas e colunas.%> ..... ..... <%if conta mod 2 = 0 then%> <tr> <%end if%> <%listar.movenext%><%next%><%loop%> </table> </body> </html> <%end if%> dá erro no sql, dizendo que bof e eof são verdadeiros. mas não lista