%@LANGUAGE="VBSCRIPT"%> <% Dim rs Dim rs_numRows Set rs = Server.CreateObject("ADODB.Recordset") rs.ActiveConnection = MM_CONN_STRING rs.Source = "SELECT * FROM 公司網站最新消息 ORDER BY 日期 DESC" rs.CursorType = 0 rs.CursorLocation = 2 rs.LockType = 1 rs.Open() rs_numRows = 0 %> <% Dim Repeat1__numRows Dim Repeat1__index Repeat1__numRows = 5 Repeat1__index = 0 rs_numRows = rs_numRows + Repeat1__numRows %>