<% set soft=server.CreateObject("Adodb.Recordset") sql="select * from software Order by softwareid desc" soft.Open sql,conn,3,1 if soft.EOF then %> <% else %> <% do while not (count1=4 or soft.eof) count1=count1+1 %> <%if count1 = 4 then count1 = 0 %> <%end if soft.movenext loop end if 'list1.Close () 'Set list1 = Nothing %>
No Software Found..
<%=soft("softwarename")%>