日期:2014-05-17 浏览次数:20808 次
<input name="xh" type="hidden" id="xh" value="<%=(rs.Fields.Item("xh").Value)%>" />
[color=#FF0000]xh=upload.form("xh")[/color] filename=file.filename set Command1 = Server.CreateObject("ADODB.Command") Command1.ActiveConnection = MM_rs_STRING Command1.CommandText = "update gydzh set filename='"&filename&"' where [color=#FF0000]xh='"&xh&"'[/color] " Command1.CommandType = 1 Command1.CommandTimeout = 0 Command1.Prepared = true Command1.Execute()