Sub SelectFile(Sender As Object, E As EventArgs)
Dim MyFileColl As HttpFileCollection = HttpContext.Current.Request.Files
Dim PostedFile As HttpPostedFile = MyFileColl.Item(0) if PostedFile.ContentLength<>0
strFileName=PostedFile.FileName
session("file")=strFileName
end if
end sub<input name="FileMedia" type="file" id="FileMedia"/>
<asp:Button ID="Button" runat="server" Text="打开案例" nClick="selectfile" />  我用这种方式打开媒体文件,有的文件可以打开,有的却不可以;各种格式都可能打开或者可能打不开。很奇怪啊。报错是这样的:请问怎么办啊??该页无法显示 
您要查看的页当前不可用。网站可能遇到技术问题,或者您需要调整浏览器设置。 --------------------------------------------------------------------------------请尝试以下操作:单击刷新按钮,或以后再试。如果您已经在地址栏中输入该网页的地址,请确认其拼写正确。