According to the incoming Recordset object instance, output the content subsection according to the table

xiaoxiao2021-03-06  42

Function IIF (COND, EXPR1, EXPR2) IF COND THEN IIF = EXPR1 ELSE IIF = EXPR2 END IFEND FUNCTION

Sub Outinfo (RST)

AllCount = Rst.Recordcount-1

Response.write "

" response.write "
all " fork = 0 TO RST.FIELDS.COUNT-1

Response.write "

" & RST (K) .Name & ""

NEXT

Response.write "" for i = 0 to allcount

Response.write "

" & I & " "

Fork = 0 to rst.fields.count-1

Response.write "

" & RST (K) .Value & ""

NEXT

Response.write "" & VBCRLF

Rst.movenext

NEXT

Response.write " Total Records [" & AllCount 1 & "] "

End Sub

转载请注明原文地址:https://www.9cbs.com/read-54349.html

New Post(0)
CopyRight © 2020 All Rights Reserved
Processed: 0.045, SQL: 9