ASP INSERT INTO语句语法错误!
<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--#include file="../conn.asp"-->
<%
dim sql
dim pname
dim cid
dim imagepath
dim ptype
dim describe
dim particularInfo
dim particularInfoUrl
pname=request.Form("pname")
cid=request.Form("cid")
imagepath=request.Form("imagepath")
if imagepath<>"" then
imagepath="images/"+imagepath
end if
ptype=request.Form("ptype")
describe=request.Form("describe")
particularInfo=request.Form("particularInfo")
particularInfoUrl="txt/"+cid+ptype+".txt"
'set fso=Server.CreateObject("Scripting.FileSystemObject")
'set txtFile=fso.CreateTextFile(Server.MapPath("../../product/txt/"+cid+ptype+".txt"),true)
'txtFile.Write(particularInfo)
'txtFile.close
sql="insert into productinfo(cid,ptype,pname,imagepath,describe,particularInfo) values("&cid&",'"&ptype&"','"&pname&"','"&imagepath&"','"&describe&"','"&particularInfoUrl&"')&q
相关问答:
http://www.zgjhjy.com/Test/PrimaryTest/Index.aspx
就是类似以上的在线测试系统,需要有一个后台的,语言是asp的,数据库是access的,还需要能在后台对信息进行添删改查的。谢谢各位了。。。
程序真的很多,不知 ......
Imports System.ComponentModel
Imports System.Web.UI
Imports System.Web.UI.Design
Imports System.Web.UI.WebControls
Namespace CBDAspNet.WebControls.HTML
''' <summary>
'' ......
我一个项目,有个插入操作,具体是这样的:
我有进货信息表。在出货时选择相应的进货信息,输入数量,选择部门后,点保存按钮,由于网络延时,点一下没有反映,于是用户就又点一下,导致一次插入了两条记录:
例:
......
在asp里怎么调用java写的webservice方法,有很多方法
- <message name="RtPnrIn">
<part name="bstrPnrNO" type="s:string" />
<part name ......