为什么数据无法更新啊
<% Response.Buffer=True %>
<!-- #include file="../../conn/conn.asp" -->
<!--#include file="../html.inc"-->
<%
uname=session("cuid")
zptext=htmlencode2(request("zptext"))
if zptext="" then Response.End
job=request("job")
zpnum=request("zpnum")
gzdd=request("gzdd")
xgyq=htmlencode2(request("xgyq"))
Set rs = Server.CreateObject("ADODB.Recordset")
sql="select * from company where uname='"&uname&"'"
rs.open sql,conn,3,3
rs("zptext")=zptext
rs("job")=job
rs("zpnum")=zpnum
rs("gzdd")=gzdd
rs("xgyq")=xgyq
rs.update
rs.close
%>
数据库链接正确,所有字段允许为空,
别外此段代码为什么点击超链接没任何反应,,并没有弹出新的页面,,超链接是对的
<a href="javascript:openwin('../company.asp?uid=<%=rs("uname")%>','top=10,left=300,width=460,height=420')"><% if len(rs("cname"))>10 then%><%=Left(rs("cname"),10)%>...<%else%><%=rs("cname")%><%end if%></a>