% set Conn = Server.CreateObject("ADODB.Connection") Conn.open CDSN query = "SELECT data, descricao FROM Comunicados WHERE exibir<>0 ORDER BY data DESC" set RS = Conn.execute (query) %>
|
<%
if RS.EOF then
Response.write(" Não há Corrente ou Comunicado disponível. ") else while (not RS.EOF) %>
") wEnd end if %> |
||||||||||