刚入门,就遇到难题了。。。。
<%
set Command1 = Server.CreateObject("ADODB.Command")
Command1.ActiveConnection = MM_news_STRING
Command1.CommandText = "UPDATE dbo.mge_main SET main_hits =main_hits+1 WHERE main_id = "&request("send_id")
Command1.CommandType = 1
Command1.CommandTimeout = 0
Command1.Prepared = true
Command1.Execute()
%>
我用DREA8设计网页,在使用服务器行为,命令-更新的功能, 按上面的步骤就无法显示网页,删除了这个命令就可以了.....
难道不能通过传递过来的变量吗?