如何在读取Excel文件时创建列表的下拉菜单?
程序员文章站
2022-05-03 15:41:23
< select name="xlsheet" >< %voptions = "< op...
< select name="xlsheet" >
< %
voptions = "< option >< /option >"
do while not oschemars.eof
if oschemars("table_type") = "system table" then
voptions = voptions & "< option >" & _
server.htmlencode(oschemars("table_name")) & _
"< /option >
end if
oschemars.movenext
loop
response.write voptions
% >
< /select >
< %
voptions = "< option >< /option >"
do while not oschemars.eof
if oschemars("table_type") = "system table" then
voptions = voptions & "< option >" & _
server.htmlencode(oschemars("table_name")) & _
"< /option >
end if
oschemars.movenext
loop
response.write voptions
% >
< /select >
上一篇: mysql 外键的基本使用
下一篇: 为啥只有500元