主题:iis中预览提示出错
iis中预览提示这一行出错
错误类型:
Microsoft VBScript 运行时错误 (0x800A000D)
类型不匹配: 'cutstr'
/asa/index.asp, 第 123 行
<td width="93%"><a href="shownews.asp?id=<%=rst("n_id")%>"><%=cutstr(rst("n_title"),23,"")%></a></td>
'截断字符串函数
function cutstr(str,length,addstr)
if len(str)<=length then
cutstr=str
else
cutstr=left(str,length)&addstr
end if
end function
n_title字段类型是文本,后台添加新闻标题填入这个字段

您所在位置: