tid=Request.QueryString("id")
tableName="P_T_JIUYU_JYPL"
'instr 与 indexof 类似
if Instr(1, tid, "dxcl_")>0 then
tid=Replace(tid,"dxcl_","")
tableName="P_T_JIUYU_DXCL"
end if
if Instr(1, tid, "jypl_")>0 then
tid=Replace(tid,"jypl_","")
tableName="P_T_JIUYU_JYPL"
end if
if not IsNumeric(tid) then
tid=-1
end if
asp instr,Replace,isNumeric方法
最新推荐文章于 2018-12-15 14:59:00 发布