查询语句问题
<%Dim CP
Dim CP_numRows
Set CP = Server.CreateObject("ADODB.Recordset")
CP.ActiveConnection = MM_connms_STRING
CP.Source = "SELECT * FROM MS_MainCatalog WHERE mctl_name_cht like %" + Replace(CP__aa, "'", "''") + "% or mctl_name_eng like %" + Replace(CP__bb, "'", "''") + "% ORDER BY mcatalog_id ASC"
CP.CursorType = 0
CP.CursorLocation = 2
CP.LockType = 1
CP.Open()
CP_numRows = 0
%>