一聚教程网:一个值得你收藏的教程网站

最新下载

热门教程

根据传入的recordset对象实例,按表格输出内容子过程

时间:2022-06-30 10:44:05 编辑:袖梨 来源:一聚教程网

function iif(cond,expr1,expr2)
 if cond then
    iif = expr1
 else
    iif = expr2
 end if
end function
sub outinfo(rst)
 allcount=rst.recordcount-1
 response.write ""
    
    response.write ""
    
    for k=0 to rst.fields.count-1
     response.write ""
    next
    response.write ""
 
 for i=0 to allcount
    response.write ""
    for k=0 to rst.fields.count-1
     response.write ""
    next
    response.write ""&vbcrlf
    rst.movenext
 next
 response.write "
all"&rst(k).name&"
"&i&""&rst(k).value&"
Total records ["&allcount+1&"]"
end sub

热门栏目