问题所在:Response.Write "<td width=""300"" height=""55"" align=""center"">"&rs("content")&"</a></td>"
content是产品简介,但字数显示长度却无法限制,我试着这们写了一下:
response.write (left(rs("content"),87))
response.write ("...")
但是不行,所以请大家邦一下,感谢
Response.Write "<td width=""145"" height=""55""> <a href=""../Html/"&Rs("ID")&".html"" target=""_blank"">"&Rs("Title")&" <font color=red>"&keyword&"</font> </a></td>"
Response.Write "<td width=""300"" height=""55"" align=""center"">"&rs("content")&"</a></td>"
Response.Write "<td width=""80"" height=""25"" align=""center"">"&Rs("CLASSID")&" </a></td>"
Response.Write "<td width=""50"" height=""25"" align=""center""><Font Color=#FF0000>"&Rs("hits")&" </a></td>"
Response.Write "<td width=""160"" height=""145"" align=""name""strlen=""40"">"&Rs("name")&"</a></td>"
[此贴子已经被作者于2006-11-17 18:21:54编辑过]