高分求高手给解释一段asp代码 - Web 开发 / ASP
求高手给解释一段asp代码,如下:
里面那些name的值都不知道代表的什么意思,strurl是指的数据库里的字段吗?
那么Call SelPlay("video/3D_1.wmv",280,220)已经有路径了,为何还要在前面设置放?两者有何不同?
最好是详细一点,本人新手,谢谢!!~~
另外如果我想把播放器中的前进后退按钮和播放进度条去掉,应该怎么改?
<%
Sub SelPlay(strUrl,strWidth,StrHeight) 'strurl视频文件的路径,strwidth 宽度,strheight 高度
Dim Exts,isExt
If strUrl <> "" Then
isExt = LCase(Mid(strUrl,InStrRev(strUrl, ".")+1))
Else
isExt = ""
End If
Exts = "avi,wmv,asf,mov,rm,ra,ram"
If Instr(Exts,isExt)=0 Then
Response.write "非法视频文件"
Else
Select Case isExt
Case "avi","wmv","asf","mov"
Response.write " <EMBED id=MediaPlayer src="&strUrl&" width="&strWidth&" height="&strHeight&" loop=""false"" autostart=""true""> </EMBED>"
Case "mov","rm","ra","ram"
Response.Write " <OBJECT height="&strHeight&" width="&strWidth&" classid=clsid:CFCDAA03-8BE4-11cf-B84B-0020AFB
相关问答:
C# code:
SqlConnection conn = CsDB.sqlcon();
SqlDataAdapter da = new SqlDataAdapter("select fwCoding from bjmuma_fwCoding where OrderNumber='" + Order + & ......
Microsoft JET Database Engine '80040e07'
标准表达式中数据类型不匹配。
\wwwroot\update.asp, line 20
--------------------------------------------------------------------------------
Ho ......
各位大侠,我学习的是ASP.NET,想知道相关技术有哪些,就像JAVA EE中有struct sping jsp severlet 等,ASP.NET还有哪些些相关技术。
http://topic.csdn.net/u/20090914/21/af27de99-f0f3-4cfd-9379-13764f8ec6b1.ht ......
怎样将ASP程序转换为.NET程序 ?
找个全才翻译。
手动去写
感觉写过asp的,来写asp.net,上手应该快点。
更能理解asp.net的一些内部技术
asp.net都被封装了
我是做.Net的,对ASP一直没接触到,很陌生。
公 ......
我有两个dropdownlist都绑好了值,想选中一个dropdownlist中的值,然后在另一个dropdownlist中选中相应的一项。
不是从新绑定第二个dropdownlist,是在已经绑好的值当中选中一个。
我想用js写
求助
你可以把drop ......