易截截图软件、单文件、免安装、纯绿色、仅160KB

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


相关问答:

求一个在线测试系统 asp的 - Web 开发 / ASP

http://www.zgjhjy.com/Test/PrimaryTest/Index.aspx
就是类似以上的在线测试系统,需要有一个后台的,语言是asp的,数据库是access的,还需要能在后台对信息进行添删改查的。谢谢各位了。。。
程序真的很多,不知 ......

asp.net中可输入的下拉框的问题 - .NET技术 / ASP.NET

Imports System.ComponentModel
Imports System.Web.UI
Imports System.Web.UI.Design
Imports System.Web.UI.WebControls
Namespace CBDAspNet.WebControls.HTML
  ''' <summary>
  '' ......

Asp+sql server问题 - Web 开发 / ASP

我一个项目,有个插入操作,具体是这样的:
我有进货信息表。在出货时选择相应的进货信息,输入数量,选择部门后,点保存按钮,由于网络延时,点一下没有反映,于是用户就又点一下,导致一次插入了两条记录:
例: ......

asp 调用java写的webservice - Web 开发 / ASP

在asp里怎么调用java写的webservice方法,有很多方法
- <message name="RtPnrIn">
  <part name="bstrPnrNO" type="s:string" /> 
  <part name ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号