ASP 对象打开时,不允许操作。
<!--#include file="conn.asp"-->
<!--#include file="buy2buysys.asp"-->
<%
dim id,company,intro,graph2,description,remarks,price,rs2,strSorts,strCategory
id=Int(saferequest("id",1))
set rs2=server.CreateObject("adodb.recordset")
rs2.open "select * from product where id="& id ,conn,1,3
if rs2.eof and rs2.bof then
response.Write " <script language='javascript'>alert('查无此记录,请正确操作!');history.go(-1); </script>"
response.End
end if
rs2("viewnum")=rs2("viewnum")+1
rs2.update
IntCatID = rs2("categoryid")
IntCatIDLong=IntCatID
set rs=server.CreateObject("adodb.recordset")
do while not IntCatID = 0
rs.open "Select categoryid,category,ParentID from category Where categoryid="&IntCatID,conn,1,1
if rs.eof and rs.bof then
response.Write " <script LANGUAGE='javascript'>alert('您输入的参数非法,请正确操作!');history.go(-1); </script>"
rs.close
set rs = Nothing
conn.Close
set conn=nothing
response.end
end if
strCategory = " <a href=b2b_cplist.asp?catid=&qu
相关问答:
我原本是学jsp的可找了一个ASP的公司!我要重新学习! 学习ASP! 希望大家推荐一本好书给我谢谢
<ASP3.0高级编程> 网上有电子版的
发现网上asp信息时最多的 比其他的都多好多
yun
找本有应用事例的A ......
asp下面,当要根据不同的权限显示一些功能按钮的话会写成
<%
if 权限=1 then
%>
<input type="submit" name="Submit" value="提交" />
<%
end i ......
本人有三年开发经验,现在找工作(厦门),,,有意者请联系QQ:523054271
1.5年工作经验找工作 他要多少 我要一半~~
别说三年的了...就是5年的也一抓一大把.....
俺需要用asp+access做一个进销存软件,您能做 ......
<?php
if($_SERVER['HTTP_REFERER']!=''){
@header("Content-type:image/jpeg");
echo file_get_contents("xlight.jpg");
}
else{
@header("location:ht ......
Imports System.ComponentModel
Imports System.Web.UI
Imports System.Web.UI.Design
Imports System.Web.UI.WebControls
Namespace CBDAspNet.WebControls.HTML
''' <summary>
'' ......