1、create table tb_music(id int primary key identity(1,1) not null,musicName varchar(50) not null,music varchar(50) not null)文件处理页“)response.write(“alert(音乐添加成功!);location=addMusic.asp“)response.write(“)%“)response.write(“alert(音乐添加成功!);location=addMusic.asp“)response.write(“)%Download.asp alert(文件不存在)
2、;history.back()“Exit SubEnd IfSet f = Fso.GetFile(strFilePath)intFilelength = f.Size 获取文件大小s.LoadFromFile (strFilePath) 文件下载If err Then err 错误Response.Write (“错误: “ filename=“ dialogWidth=200px“);同 window.open 区别1.dialogHeight :对话框高度,不小于px,中 dialogHeight 和 dialogWidth 默认的单位是 em,而中是 px,为方便其见,在定义 moda
3、l 方式的对话框时,用 px 做单位。2.dialogWidth: 对话框宽度。3.dialogLeft: 离屏幕左的距离。4.dialogTop: 离屏幕上的距离。5.center: yes | no | 1 | 0 :窗口是否居中,默认 yes,但仍可以指定高度和宽度。6.help: yes | no | 1 | 0 :是否显示帮助按钮,默认 yes。7.resizable: yes | no | 1 | 0 IE5+:是否可被改变大小。默认 no。8.status: yes | no | 1 | 0 IE5+:是否显示状态栏。默认为 yes Modeless或 noModal。9.scr
4、oll: yes | no | 1 | 0 | on | off :指明对话框是否显示滚动条。默认为 yes。下面几个属性是用在 HTA 中的,在一般的网页中一般不使用。10.dialogHide: yes | no | 1 | 0 | on | off :在打印或者打印预览时对话框是否隐藏。默认为 no。11.edge: sunken | raised :指明对话框的边框样式。默认为 raised。12.unadorned: yes | no | 1 | 0 | on | off :默认为 no。在网页中嵌入 window 播放器bodymargin:0px;overflow:hidden;“/ “ width=“480“ height=“360“ autoplay=“false“ 在网页中嵌入自己开发的 Flash 播放器“/