ASP连接ACCESS数据的问题在运行时出的错
这是我出现的错误:
M[color=#FF0000]icrosoft OLE DB Provider for ODBC Drivers (0x80040E14)
[Microsoft][ODBC Microsoft Access Driver] 语法错误 (操作符丢失) 在查询表达式 'NVC_LADINGBILL = '2' AND INT_ID <>' 中。
/try1/manage/exportedit.asp, 第 155 行[/color]
原码
'查找提单号是否存在
if NVC_LADINGBILL <> "" then
strSql = ""
strSql = strSql & " SELECT "
strSql = strSql & " NVC_LADINGBILL "
strSql = strSql & " from "
strSql = strSql & GLOBAL_DB_EXPORT
strSql = strSql & " WHERE "
strSql = strSql & " NVC_LADINGBILL = '"& NVC_LADINGBILL &"' "
strSql = strSql & " AND "
strSql = strSql & " INT_ID <> "& INT_ID &" "
set strRs = Server.CreateObject ("ADODB.RECORDSET")
strRs.Open strSql,conn,1,3
if not strRs.eof then
向高手请教!!!!!!!!!!!!!!
if NVC_LADINGBILL <> "" then
strSql = ""
strSql = strSql & " SELECT "
strSql = strSql & " NVC_LADINGBILL "
strSql = strSql & " from "
strSql = strSql & GLOBAL_DB_EXPORT
strSql = strSql & " WH
相关问答:
服务器现在是。net 2.0的
我现在的项目就是asp.net mvc + linq的,现在服务器的环境配置用不了。
不知道有前辈碰到过这样的问题没。
难道服务器必须要装.net3.5 和 asp.net mvc
请前辈指点
不装你认为你要怎么 ......
3个radioButton
一个Button
一个label
C# code:
protected void Button1_Click(object sender, EventArgs e)
{
string str = null;
RadioButton rdo=(RadioButton)sender;
......
rt,我试了网上直连Acces数据库的方法,windows下没有问题,但是在linux下不行,谁能给点提示?谢谢
你怎么连的?
Acces数据库..
你怎么练的呢?
Java code:
static String DBDRIVER = "sun.jd ......
一般的asp 书籍 只介绍 asp的六大对象 但像
Set fso = CreateObject("Scripting.FileSystemObject")
这些技术 却没有见过
这些东西是asp的哪方面知识
好像有 activeXobject什么 ......
如何用js获得 asp 写入的session
session("user_id") = "cqsj1987"
怎么样用js 这个session 值?
JScript code:
var uid="<%=session("user_id")%>"
<%
s ......