| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 365 人关注过本帖
标题:[求助]无效字符
只看楼主 加入收藏
yfen258
Rank: 1
等 级:新手上路
帖 子:266
专家分:0
注 册:2006-3-31
收藏
 问题点数:0 回复次数:1 
[求助]无效字符

错误类型:
Microsoft VBScript 编译器错误 (0x800A0408)无效字符
/cpzs_list.asp, line 51, column 219
红色标志的代码是第51行,谢谢~~

代码如下:
<!--#include file="conn.asp"-->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type="text/css">
<!--
body {
background-image:
}
.STYLE1 {font-size: 12px}
.STYLE4 {font-size: 24px}
.STYLE5 {font-size: 16px}
-->
</style>
</head>
<body leftmargin="0" topmargin="0">
<table width="780" height="100" border="0" cellpadding="0" cellspacing="0" align="center">
<tr>
<td>
dsf
</td>
</tr>
</table>
<table align="center" width=780 height="700" border="0" cellpadding="0" cellspacing="0">
<%
id =request.QueryString("id")
set rs=server.createobject("adodb.recordset")
page=request.querystring("page")
if page="" then page=1
if not(isnumeric(page)) then page=1
if page<1 then page=1
page=int(page)
sql="select * from zhaoshang where id="&id
rs.open sql,conn,1,1
if rs.eof then
%>
<tr>
<td width="600" height="20" valign="middle">
<div align="center" class="text"><font color="#FF0000" size="3">暂时没有招商信息!</font></div>
</td>
</tr>
<%
response.end
else
rs.pagesize=9
totalrec=rs.recordcount
totalpage=rs.pagecount
if page>totalpage then page=totalpage
rs.absolutepage=page
i=0

dim id(),yaopinmingcheng(),shangbiaoming(),zhaoshangquyu(),yaopinleibie(),pizhunwenhao(),shengchandanwei(),jixing(),gunge(),chengfen(),yongfayongliang(),chanpinxingneng(),chanpingbuchongsm(),dailiyaoqiu(),beizhu(),danweimingcheng(), dianhua(),chuanzhen(),shouji(),lianxiren(),wangzhi(),email(),youbian(),dizhi(),tupian()
do while not rs.eof and (i<rs.pagesize)
i=i+1
redim preserve id(i),yaopinmingcheng(i),shangbiaoming(i),zhaoshangquyu(i),yaopinleibie(i),pizhunwenhao(i),shengchandanwei(i),jixing(i),gunge(i),chengfen(i),yongfayongliang(i),chanpinxingneng(i),chanpingbuchongsm(i),dailiyaoqiu(i),beizhu(i),danweimingcheng(i),dianhua(i),chuanzhen(i),shouji(i),lianxiren(i),wangzhi(i),email(i),youbian(i),dizhi(i),tupian(i)
id(i)=rs("id")
yaopinmingcheng(i)=rs("yaopinmingcheng")
shangbiaoming(i)=rs("shangbiaoming")
zhaoshangquyu(i)=rs("zhaoshangquyu")
yaopinleibie(i)=rs("yaopinleibie")
pizhunwenhao(i)=rs("pizhunwenhao")
shengchandanwei(i)=rs("shengchandanwei")
jixing(i)=rs("jixing")
gunge(i)=rs("gunge")
chengfen(i)=rs("chengfen")
yongfayongliang(i)=rs("yongfayongliang")
chanpinxingneng(i)=rs("chanpinxingneng")
chanpingbuchongsm(i)=rs("chanpingbuchongsm")
dailiyaoqiu(i)=rs("dailiyaoqiu")
beizhu(i)=rs("beizhu")
danweimingcheng(i)=rs("danweimingcheng")
dianhua(i)=rs("dianhua")
chuanzhen(i)=rs("chuanzhen")
shouji(i)=rs("shouji")
lianxiren(i)=rs("lianxiren")
wangzhi(i)=rs("wangzhi")
email(i)=rs("email")
youbian(i)=rs("youbian")
dizhi(i)=rs("dizhi")
tupian(i)=rs("tupian")
rs.movenext
loop
end if
rs.close
%>
<tr>
<%for i = 0 to ubound(id)%>
<td height="800" valign="top">
<table align="center" width="780" height="10" border="1" cellpadding="0" cellspacing="0" bordercolor="#999999">
<!--DWLayoutTable-->


<tr>

<td width="142" rowspan="6" align="center" valign="top">
<%
dim img
if trim(tupian(i))="" then
img="images/no.jpg"
else
img=trim(tupian(i))
end if
next
%>
<span class="STYLE1">产品图片</span><img src="<%=img%>" width="142" height="186" border="0" class="text"> </td>
<td height="40" colspan="4" align="center" valign="middle"><span class="STYLE4">公    司    名    称</span></td>
</tr>
<tr>
<td width="1" height="8"></td>
<td width="76"></td>
<td width="175"></td>
<td width="375"></td>
</tr>
<tr>
<td height="30"></td>
<td colspan="2" align="left" valign="middle"><span class="STYLE5">招商产品信息</span></td>
<td align="center" valign="bottom"><span class="STYLE1">发布信息时间显示</span></td>
</tr>
<tr>
<td height="2"></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td height="19"></td>
<td valign="middle">药品名称:</td>
<td valign="top">aaaaa</td>
<td></td>
</tr>

<tr>
<td height="107"></td>
<td>&nbsp;</td>
<td></td>
<td></td>
</tr>

<tr>
<td height="2"></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>





<tr>
<td height="26" align="center" valign="middle"><span class="STYLE1">该 公 司 相 关 产 品</span></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td height="568" valign="top"><!--DWLayoutEmptyCell-->&nbsp;</td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
</table>

</td>
</tr>
</table>

搜索更多相关主题的帖子: 字符 
2007-03-07 10:13
yfen258
Rank: 1
等 级:新手上路
帖 子:266
专家分:0
注 册:2006-3-31
收藏
得分:0 
解决了

2007-03-07 12:07
快速回复:[求助]无效字符
数据加载中...
 
   



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

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