为什么我绑定了记录集后,点击记录集时却出现“FROM字句语法错误”?
为什么我绑定了记录集后,点击记录集时却出现“FROM字句语法错误”
源码如下
<%
var Rechaxun2 = Server.CreateObject("ADODB.Recordset");
Rechaxun2.ActiveConnection = MM_conn_STRING;
Rechaxun2.Source = "SELECT * FROM table WHERE number = '"+ Rechaxun2__MMColParam.replace(/'/g, "''") + "'";
Rechaxun2.CursorType = 0;
Rechaxun2.CursorLocation = 2;
Rechaxun2.LockType = 1;
Rechaxun2.Open();
var Rechaxun2_numRows = 0;
%>