* BLACKS IN ASIA *
Scholarship Section
- Main Scholarship
-- Main Scholarships --
Range
<% set conn=server.createobject("adodb.connection") DBPath = Server.MapPath("scholarship.mdb") conn.Open "driver={Microsoft Access Driver (*.mdb)};dbq=" & DBPath set rs = server.createobject("adodb.recordset") sql = "select * from scholarship order by id asc" rs.open sql, conn, 1, 1 %> <%if rs.EOF then%>
系统中暂时没有记录!
<%else%> <% totalrecord=rs.recordcount for i=1 to totalrecord and not rs.bof%>
<%=rs("title")%>
<%=rs("range")%>
<% rs.movenext if rs.eof then exit for Next End if %>
<% rs.close set rs = nothing conn.close set conn = nothing %>