http://xml.sz.luohuedu.net/xml/ShowDetail.asp?id=EY1XLDYV-PIDF-43LO-1WFL-FMY5ALE1F635

解决方案 »

  1.   

    <a href='downfile.aspx/<%=fileshortname%>?fileid=<%=fileid%>'>download</a>
      

  2.   

    应该数据库中的数据转化成 byte[]
      

  3.   

    文件上传及下载
    http://www.csdn.net/develop/article/20/20849.shtm
      

  4.   

    Response.BinaryWrite(byteContent)改成 Response.BinaryWrite((byte[])dr("content")); //要转成byte 数组
      

  5.   

    我上面的代码怎么在c盘下得不到test.doc呢?而保存的时候出现的是文件名是页面的标题。
      

  6.   

    content  字段是 image 类型吗
      

  7.   

    呵呵,content是image类型。
    我发觉是dim strFile as string  = "c:\\test.doc" 这儿的问题。
      

  8.   

    HttpUtility.UrlEncode(文件名)