关键字查询Microsoft VBScript 编译器错误 错误 '800a0408' 45
亲们,dreameweave做关键字查询运行提示有错误,调了老长时间就是调不对。帮忙瞅一眼吧亲。MicrosoftVBScript编译器错误错误'800a0408'无效字...
亲们,dreameweave做关键字查询运行提示有错误,调了老长时间就是调不对。
帮忙瞅一眼吧 亲。
Microsoft VBScript 编译器错误错误 '800a0408'无效字符/first/find-2.asp,行
43 rs.Source = "SELECT * FROM tuser WHERE " + Replace(rs__MM_ch, "'", "''") + " like "%" + Replace(rs__MM_text, "'", "''") + "%" ORDER BY ID DESC"
-------------------------------------------------------------------------------------^
原代码:
<%
Dim rs
Dim rs_numRows
Set rs = Server.CreateObject("ADODB.Recordset")
rs.ActiveConnection = MM_connl_STRING
第43行rs.Source = "SELECT * FROM tuser WHERE " + Replace(rs__MM_ch, "'", "''") + " like "%" + Replace(rs__MM_text, "'", "''") + "%" ORDER BY ID DESC"
rs.CursorType = 0
rs.CursorLocation = 2
rs.LockType = 1
rs.Open()
rs_numRows = 0
%>
有劳各位大虾费心了!
在此先谢过啦!
先声明,这是DW自动生成的代码
亲们只有这些财富值了,不能再高了。 展开
帮忙瞅一眼吧 亲。
Microsoft VBScript 编译器错误错误 '800a0408'无效字符/first/find-2.asp,行
43 rs.Source = "SELECT * FROM tuser WHERE " + Replace(rs__MM_ch, "'", "''") + " like "%" + Replace(rs__MM_text, "'", "''") + "%" ORDER BY ID DESC"
-------------------------------------------------------------------------------------^
原代码:
<%
Dim rs
Dim rs_numRows
Set rs = Server.CreateObject("ADODB.Recordset")
rs.ActiveConnection = MM_connl_STRING
第43行rs.Source = "SELECT * FROM tuser WHERE " + Replace(rs__MM_ch, "'", "''") + " like "%" + Replace(rs__MM_text, "'", "''") + "%" ORDER BY ID DESC"
rs.CursorType = 0
rs.CursorLocation = 2
rs.LockType = 1
rs.Open()
rs_numRows = 0
%>
有劳各位大虾费心了!
在此先谢过啦!
先声明,这是DW自动生成的代码
亲们只有这些财富值了,不能再高了。 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询