主题:c#.net 怎么做随机,循环播放音频,视频,asp 可以
c#.net 怎么做随机,循环播放音频,视频,asp 可以
<!--#include file="conn.asp"-->
<ASX version = "3.0" PREVIEWMODE="NO">
<TITLE>wma</TITLE>
<author>
听吧 </author> <abstract>听吧 </abstract> <copyright>在线试听</copyright>
<%
set rs=server.createobject("adodb.recordset")
id="31265,31268"
sql="select * from MusicList where id in (" & id & ")"
rs.open sql,conn,1,3
while not rs.eof
%>
<entry SKIPIFREF="YES">
<title><%=rs("Musicname")%></title>
<author>听吧 </author><copyright>在线试听</copyright> <ref href="<%=rs("wma")%>"/> <param name="Artist" value="<%=rs("Singer")%>"/> <param name="Album" value="听吧"/> <param name="Title" value="<%=rs("Musicname")%>"/>
</ENTRY>
<%
rs.movenext
wend
rs.Close
set rs=nothing
conn.close
set conn=nothing
%></ASX>
<!--#include file="conn.asp"-->
<ASX version = "3.0" PREVIEWMODE="NO">
<TITLE>wma</TITLE>
<author>
听吧 </author> <abstract>听吧 </abstract> <copyright>在线试听</copyright>
<%
set rs=server.createobject("adodb.recordset")
id="31265,31268"
sql="select * from MusicList where id in (" & id & ")"
rs.open sql,conn,1,3
while not rs.eof
%>
<entry SKIPIFREF="YES">
<title><%=rs("Musicname")%></title>
<author>听吧 </author><copyright>在线试听</copyright> <ref href="<%=rs("wma")%>"/> <param name="Artist" value="<%=rs("Singer")%>"/> <param name="Album" value="听吧"/> <param name="Title" value="<%=rs("Musicname")%>"/>
</ENTRY>
<%
rs.movenext
wend
rs.Close
set rs=nothing
conn.close
set conn=nothing
%></ASX>