<%
Set Conn=Server.CreateObject("ADODB.Connection")
Conn.Provider="Microsoft.Jet.OLEDB.4.0"
Conn.Open Server.MapPath("\project\db\webboard\webboard.mdb")
Sql="Select * from question order by ID desc"
Set RS =Server.CreateObject("ADODB.Recordset")
RS.open Sql,Conn,1,3
%>

หน้า
<%For page=1 to totalpage%>
<%=page%> | 
<%Next%>