[求助]为什么总是取不到传过来的值?急
<form action="modify.asp?User_PhotoInfo_No=<%=rs("User_PhotoInfo_No")%>" method="post" enctype="multipart/form-data" name="form1"><tr align="center" bgcolor="#FFFFFF">
<td height="40" colspan="2"><strong>修改信息</strong></td>
</tr>
<tr bgcolor="#FF9900">
<td height="30" align="center" bgcolor="#FFFFFF"><div align="left" class="style1">修改图片:</div></td>
<td height="30" bgcolor="#FFFFFF"> <input type="file" name="User_Photo"></td>
</tr>
<tr bgcolor="#FF9900">
<td width="83" height="30" align="center" bgcolor="#FFFFFF"><div align="left" class="style1"><strong>修改信息:</strong></div></td>
<td width="676" height="30" bgcolor="#FFFFFF">
<textarea name="User_PhotoInfo" cols="40" rows="5" id="Detail" ><%=rs("User_PhotoInfo")%></textarea></td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="30" colspan="2" align="center">
<input name="flag" type="hidden" id="flag" value="ok">
<input type="submit" name="Submit" value="确定 ">
<input type="button" name="Submit2" value="取消" onClick="javascript:window.close();"></td>
</tr>
</form>
modify.asp页面:
DIM MY
SET MY= New UpLoadClass
MY.SavePath="UploadImg/Img/"
MY.open()
sql="select * from User_Photo_Info where User_PhotoInfo_No="& MY.form("User_PhotoInfo_No")
'response.Write(sql)
'response.End()
set rs=server.CreateObject("adodb.recordset")
rs.open sql,conn,1,3
if MY.form("user_Photo")<>"" then
rs("User_PhotoUrl")=MY.SavePath&MY.form("user_Photo")
rs("User_Photo")=MY.form("User_Photo")
end if
rs("User_PhotoInfo")=MY.Form("User_PhotoInfo")
rs.update
rs.close
set rs=nothing
response.Write("<script language='javascript'>window.close()</script>")
%>
为什么总是取不到MY.form("User_PhotoInfo_No")的值