请问用过刘玉锋上传 组件的ASP高手一个问题??急

kingman888 kingman888 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
请问用过刘玉锋上传 组件的ASP高手一个问题
<form method="POST" action="manyjbgupdate.asp" name="whform" enctype="multipart/form-data" >
标题:<input type="text" name="reptitle" size="86" maxlength="150" value="<%=ed_reptitle%>"><font color="#FF0000"><b>*</b>
<input type="checkbox" name="cont" value="ON" checked>连续录入
</form>

manyjbgupdate.asp


Set obj = Server.CreateObject("LyfUpload.UploadFile")
reptitle= trim(obj.request("reptitle")) '得到form元素的值
if reptitle="" then
errtext=errtext&"研究报告标题不能为空!"
end if
if errtext<>"" then
Response.Write "<script language=javascript>alert('"&errtext&"');self.history.back(1);</script>"
Response.End
end if
if obj.Request("cont")="ON" then '连序录入 出错的句子

LyfUpload 错误 '800a0009'

Subscript out of range

/yjbg/manyjbgupdate.asp, 行79


为什么?得到文本的值可以,得到checkbox select的值时就报错?
怎么才能得到checkbox select的值??
...全文
评论 7
收藏 已收藏
分享
返回顶部
kingman888
ASP 28,401 成员 356,940 内容