http://localhost/article_show.asp?Abo...
代码一:
<%
dim rs,sql,AboutNameCh
AboutNameCh=request.QueryString("AboutNameCh")
set rs=server.CreateObject("adodb.recordset")
sql="select * from Southidc_About where AboutNameCh="&AboutNameCh
response.write(AboutNameCh)'这里可以正常输出“医院简介”
rs.open sql,conn,1,3
%>
代码二:
<%
dim rs,sql,AboutNameCh
AboutNameCh=request.QueryString("AboutNameCh")
set rs=server.CreateObject("adodb.recordset")
sql="select * from Southidc_About where AboutNameCh='医院简介'“
rs.open sql,conn,1,3
%>
让我很纳闷的是代码一出现错误,信息为:Microsoft JET Database Engine ���� '80040e10' ,而代码二却可以正常运行,但是代码一的变量可以正确打印出来的呀