请问用过刘玉锋上传 组件的ASP高手一个问题??急
请问用过刘玉锋上传 组件的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的值??