📄 rec2table.asp
字号:
<%
function Rec2Table(objRS)
dim strT
dim fldF
strT="<table width=80% border=1><TR>"
for each fldF in objRS.Fields 'each feild as colum name
strT=strT & "<TD>" & fldF.name & "</TD>"
next
strT=strT & "</TR>"
while not objRS.eof
strT = strT & "<TR>"
for each fldF in objRS.fields
strT = strT & "<TD>" & fldF.value & "</TD>"
next
strT= strT & "</TR>"
objRS.movenext
wend
strT = strT & "</TABLE>"
Rec2Table =strT 'return the table string
end function
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -