| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 517 人关注过本帖
标题:"MM—joinChar"类型不匹配…………这是什么意思
只看楼主 加入收藏
liuxuan
Rank: 1
等 级:新手上路
帖 子:1
专家分:0
注 册:2007-10-24
收藏
 问题点数:0 回复次数:0 
"MM—joinChar"类型不匹配…………这是什么意思

类型不匹配: 'MM_joinChar'
这是什么意思啊。帮忙给看看,小弟我在这谢谢各位参与者
源码下面的红色标志



这个页面的源码:
<%@LANGUAGE="VBSCRIPT"%>
<!--#include file="Connections/conn.asp" -->
<!--#include file="Connections/conn.asp" -->
<%
Dim Recordset1__MMColParam
Recordset1__MMColParam = "1"
If (Request.QueryString("id") <> "") Then
Recordset1__MMColParam = Request.QueryString("id")
End If
%>
<%
Dim Recordset1
Dim Recordset1_numRows

Set Recordset1 = Server.CreateObject("ADODB.Recordset")
Recordset1.ActiveConnection = MM_conn_STRING
Recordset1.Source = "SELECT * FROM gonggao WHERE id = " + Replace(Recordset1__MMColParam, "'", "''") + ""
Recordset1.CursorType = 0
Recordset1.CursorLocation = 2
Recordset1.LockType = 1
Recordset1.Open()

Recordset1_numRows = 0
%>
<%
Dim biaoti
Dim biaoti_numRows

Set biaoti = Server.CreateObject("ADODB.Recordset")
biaoti.ActiveConnection = MM_conn_STRING
biaoti.Source = "SELECT * FROM News ORDER BY id DESC"
biaoti.CursorType = 0
biaoti.CursorLocation = 2
biaoti.LockType = 1
biaoti.Open()

biaoti_numRows = 0
%>
<%
Dim jicha
Dim jicha_numRows

Set jicha = Server.CreateObject("ADODB.Recordset")
jicha.ActiveConnection = MM_conn_STRING
jicha.Source = "SELECT * FROM jicha ORDER BY id ASC"
jicha.CursorType = 0
jicha.CursorLocation = 2
jicha.LockType = 1
jicha.Open()

jicha_numRows = 0
%>
<%
Dim MM_paramName
%>
<%
Dim Repeat3__numRows
Dim Repeat3__index

Repeat3__numRows = 5
Repeat3__index = 0
guoji_numRows = guoji_numRows + Repeat3__numRows
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<!--#include file="conn.asp"-->
<!--#include file="top.asp"-->
<title>6427--在线新闻系统</title>
<div align="center">
<table width="775" border="0" cellpadding="0" cellspacing="0" class="css1">
<!--DWLayoutTable-->
<tr>
<td width="6" height="24" background="images/left.gif">&nbsp;</td>
<td colspan="5"><div align="left">你现在所在位置:网站首页&gt;&gt;</div></td>
<td width="9" rowspan="3" background="images/left.gif">&nbsp;</td>
</tr>
<tr>
<td height="89" colspan="2" valign="top"><table width="78%" height="81" border="0" align="center" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="7" height="81" background="images/left.gif">&nbsp;</td>
<td width="152" valign="top"><table width="149" height="81" align="center" cellpadding="0" cellspacing="0" class="css11">
<tr>
<td width="147" height="16" class="css1"><div align="center">本站公告</div></td>
</tr>
<tr>
<td height="63" class="css1"><marquee direction="down" scrollAmount=2 height="80" width="100" onmouseover=stop() onmouseout=start()>
<div align="center"><%=(Recordset1.Fields.Item("gonggao").Value)%></div>
</marquee></td>
</tr>
</table></td>
</tr>
</table></td>
<td width="6" background="images/left.gif">&nbsp;</td>
<td width="590" rowspan="3" valign="top"><table width="410" height="19" align="center" cellpadding="0" cellspacing="0" class="css12">
<tr> </tr>
</table>
<table width="590" height="51" cellpadding="0" cellspacing="1" class="css18">
<tr>
<td height="47"><div align="left"></div>
<div align="right"></div>
<div align="right"></div>
<div align="right"></div>
<div align="left"height="30" colspan="2" background="<img src="images/tbj.jpg" />
<b><img src="images/hot.gif" width="13" height="15" /><span style="font-size: 14px">国际新闻</span></b> s <b><img src="images/tbj.jpg" width="600" height="19" /></b> </td>
</table>
<%
While ((Repeat3__numRows <> 0) AND (NOT jicha.EOF))
%>
<% If Not jicha.EOF Or Not jicha.BOF Then %>
<table width="588" border="0">
<tr>
<td width="13"><img src="images/news.gif" width="13" height="13" /></td>
<td width="146"><div align="center">[<%=(jicha.Fields.Item("BigClassName").Value)%>]</div></td>
<td width="204"><div align="left"><a href="news_detail.asp?<%= Server.HTMLEncode(MM_keepNone) & MM_joinChar(MM_keepNone) & "id=" & jicha.Fields.Item("id").Value %>"><%=(jicha.Fields.Item("title").Value)%></a></div></td>
<td width="107"><div align="center"><%=(jicha.Fields.Item("addtime").Value)%></div></td>
<td width="96"><div align="right"><%=(jicha.Fields.Item("author").Value)%></div></td>
</tr>
</table>
<% End If ' end Not guoji.EOF Or NOT guoji.BOF %>
<%
Repeat3__index=Repeat3__index+1
Repeat3__numRows=Repeat3__numRows-1
guoji.MoveNext()
Wend
%>
<br />
<table width="590" height="51" cellpadding="0" cellspacing="1" class="css18">
<tr>
<td height="47"><div align="right"><a href="news_jicha.asp">more…</a></div>
<div align="left"height="30" colspan="2" background="<img src="images/tbj.jpg" />
<b><img src="images/hot.gif" width="13" height="15" /><span style="font-size: 14px">国内新闻</span></b> <b><img src="images/tbj.jpg" width="600" height="18" /></b> </td>
</table>
<table width="603" border="0">
<tr>
<td width="13"><img src="images/hot_1.gif" width="13" height="13" /></td>
<td width="68">&nbsp;</td>
<td width="267">&nbsp;</td>
<td width="116"><div align="center"></div></td>
<td width="117"><div align="right"></div></td>
</tr>
</table>
<table width="590" height="51" cellpadding="0" cellspacing="1" class="css18">
<tr>
<td height="47"><div align="right">more…</div>
<div align="left"height="30" colspan="2" background="&lt;img src="images="images"/tbj.jpg" />
<b><img src="images/hot.gif" width="13" height="15" /><span style="font-size: 14px">专题新闻</span></b> <b><img src="images/tbj.jpg" width="600" height="18" /></b>

</table>
<table width="605" height="19" border="0">
<tr>
<td width="13"><img src="images/news.gif" width="13" height="13" /></td>
<td width="72"><div align="center"></div></td>
<td width="263"><div align="left"></div></td>
<td width="116"><div align="center"></div></td>
<td width="119"><div align="right"></div></td>
</tr>
</table>
<table width="590" height="51" cellpadding="0" cellspacing="1" class="css18">
<tr>
<td height="47"><div align="right">more…</div>
<div align="right"></div>
<div align="right"></div>
<div align="right"></div>
<div align="left"height="30" colspan="2" background="<img src="images/tbj.jpg" />
<b><img src="images/hot.gif" width="13" height="15" /><span style="font-size: 14px">文体新闻</span></b> <b><img src="images/tbj.jpg" width="600" height="19" /></b> </td>
</table>
<table width="604" border="0">
<tr>
<td width="13"><img src="images/hot_1.gif" width="13" height="13" /></td>
<td width="63"><div align="center"></div></td>
<td width="272"><div align="left"></div></td>
<td width="116"><div align="center"></div></td>
<td width="118"><div align="right"></div></td>
</tr>
</table>
<p align="right">more…</p></td>
<td width="6" rowspan="3">&nbsp;</td>
<td width="7" rowspan="2" valign="top"><!--DWLayoutEmptyCell-->&nbsp;</td>
</tr>
<tr>
<td height="201" background="images/left.gif">&nbsp;</td>
<td width="151" rowspan="2"><table width="161" height="242" cellpadding="0" cellspacing="0">
<tr>
<td>&nbsp;</td>
</tr>
</table></td>
<td background="images/left.gif">&nbsp;</td>
</tr>
<tr>
<td height="79" background="images/left.gif">&nbsp;</td>
<td background="images/left.gif" class="css1">&nbsp;</td>
<td class="css1">&nbsp;</td>
<td background="images/left.gif">&nbsp;</td>
</tr>
</table>
</div>
<div align="center">
<table width="775" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="775" height="54"><!--#include file="bottom.asp"-->
<%
Recordset1.Close()
Set Recordset1 = Nothing
%>
<%
biaoti.Close()
Set biaoti = Nothing
%>
<%
jicha.Close()
Set jicha = Nothing
%>
&nbsp;</td>
</tr>
</table>
</div>
</body>
</html>

搜索更多相关主题的帖子: 类型 MMColParam VBSCRIPT 
2007-10-24 18:18
快速回复:"MM—joinChar"类型不匹配…………这是什么意思
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.021333 second(s), 9 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved