用ASP如何直接连接数据库的数据

请问各位高手
我用ASP设计播放flash的MTV 用ACCESS数据库存放MTV文件名,然后用

1 response.write"

<a href="&amp;rs(4)&amp;">播放</a>

1" 
2``` 语句播放,(rs(4)字段为MTV的文件名, 点击播放二字正常显示. 我想直接播放,不需要点击播放二字,用什么办法. 用什么语句. 请教高手,万分感谢.   
3  
4  
5\---------------------------------------------------------------   
6  

response.write rs(4)

1\---------------------------------------------------------------   
2  

response.write rs(4)

1只是打印出文件名   
2要指定播放器。在播放文件参数中指定 为 rs(4)   
3  
4eg:
``` \---------------------------------------------------------------
1   
2response.write "

<script language="javascript">"
response.write "window.location = """ & rs(4) & """;"
response.write "</script>

1"   

---------------------------------------------------------------

在你想要显示flash的地方加上下列语句:

1<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" height="331" width="249">
2<param =rs(4)="" ```="" name="movie" value="```"/>
3<param name="quality" value="high"/>
4<embed =rs(4)="" ```="" height="331" pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" src="```" type="application/x-shockwave-flash" width="249"/></object>
Published At
Categories with Web编程
Tagged with
comments powered by Disqus