类型不匹配: 'gotTopic' 高手帮忙下
Dim rs,sql,i,TotalPut
i = 0
Set rs=Server.CreateObject("ADODB.Recordset")
sql="SELECT * FROM DirIndustry where ParentID=0"
rs.Open sql,conn,1,3
TotalPut = rs.recordcount
%>
<table width='100%' border='0' align='center' cellpadding='0' cellspacing='0'>
<tr><td height='22'>您现在的位置:<a href=DirManage.asp target=main>管理首页</a> >> 行业分类管理</td>
<td width=80><a href="DirManage.asp?Action=InduAdd">添加分类</a></td>
</tr>
</table>
<table class="border" border="0" cellspacing="1" width="100%" cellpadding="0">
<tr class="title" style="padding: 0px 2px;">
<td width='30' align='center'><strong>编号</strong></td>
<td width='240' align='center' ><strong>行业一级分类</strong></td>
<td align='center'><strong>简介</strong></td>
<td width='130' align='center' ><strong>管理操作</strong></td>
</tr>
<%
Do While Not rs.EOF
Dim Info,Info1,gotTopic
Info=rs("IndustryInfo")
If Info <> "" Then
Info1=gotTopic(rs("IndustryInfo"),60)
Else
Info1=""
End If
%>
<tr class="tdbg" onMouseOut="this.className='tdbg'" onMouseOver="this.className='tdbgmouseover'" style="padding: 0px 2px;">
<td width='30' align='center'><%=rs("IndustryID")%></td>
<td width='240'><a href="DirManage.asp?Action=InduSort&ParID=<%=rs("IndustryID")%>"><%=rs("IndustryName")%></a></td>
<td><%=Info1%></td>
<td width='130' align='center'><a href='DirManage.asp?Action=InduAddSort&ParID=<%=rs("IndustryID")%>'>添加分类</a> <a href='DirManage.asp?Action=InduModify&ParID=<%=rs("IndustryID")%>'>设置</a> <a href='DirManage.asp?Action=Del&PetID=<%=rs("IndustryID")%>' onClick="return confirm('确定要删除此分类吗?一旦删除将不能恢复!');">删除</a></td>
</tr>
<%
rs.movenext
Loop
%>
错误类型:
Microsoft VBScript 运行时错误 (0x800A000D)
类型不匹配: 'gotTopic'
DirManage.asp, 第 233 行
相关推荐
ASP的一些自定义函数整理第1/2页
书学asp,经常会用到一些函数,对于代码的重用性有所提高,执行速度也提高,希望大家多多欣赏学习
如何将长的标题用省略号收尾
如何将长的标题用省略号收尾
截字符串 去除HTML标记
<%‘**************************************************‘函数名:gotTopic‘作 用:截字符串,汉字一个算两个字符,英文算一个字符‘参 数:str —-原字符串‘ strlen —-截取长度‘返回值:截取后的字符串‘**************************************************function gotTopic(str,strlen)if str=”” thengotTopic=””exit functionend ifdim l,t,c, istr=replace(replace(replace(r
高校技术转移中心如何选型管理系统?数智化工具如何破解成果转化三大难题?.docx
科易网基于行业知识库+行业大数据+科技资源要素+AI模型,以AI,赋能技术转移、成果转化、技术经理人培训、知识产权管理、区域产业分析与布局、地方科技招商、创新创业大赛等场景,推出科技创新领域的AI工具、场景化服务和数智化解决方案,推动科技创新与产业创新智能化发展。
iperf3 安卓版 - 手机网络测速工具(客户端/服务端/双向打流)
基于 iperf3 3.22 源码交叉编译的 Android 原生测速 App,手机可直接作为 iperf3 客户端或服务端。 功能:客户端/服务端双模式;TCP/UDP;多并发流;反向下载 -R;双向打流 --bidir;UDP 带宽按 Mbps 设置;实时速率曲线与当前/平均/峰值;历史记录;Material3 界面。 安装:下载 APK,允许未知来源安装。支持 Android 7.0+,架构 arm64-v8a / armeabi-v7a / x86_64。iperf3 遵循 BSD-3-Clause 协议,版权归 ESnet。


