打印

[asp] 请教个关于数据调用的问题

_____________________________________________________
id     |           text        
-----------------------------------------------------
1      |          调用文章,字数500
------------------------------------------------------
ASP中  ACCESS数据库中有一篇文章 字数为500字
我想在其他页面调用用这篇文章,但是只调用前面200字,该怎么写?
rs.open"select left(text,200) as txt from table where id=1",conn,1,1
response.write rs("txt")
[wma]http://jie.splan.cn/ggldl/梅艳芳.mp3[/wma]
rs.open"select * from table where id=1",conn,1,1
response.write left(rs("text"),200)
WEB理想
解决了  谢谢2楼3楼的兄弟了

TOP

还在为头像烦恼?还在为不能关注好友动态烦忧?快来蓝色理想家园吧!