1;这个好象不好控制吧,doc文件被客户自动关联到word打开了,当然如果客户没有装word的话就可以了

解决方案 »

  1.   

    通过文件流的方式阿,
       Dim intDisplayWord As Integer
            intDisplayWord = dstMemoryArticle.Tables(0).Rows(0)("Article_content").Length
            Dim bytBuffer(intDisplayWord) As Byte
            bytBuffer = dstMemoryArticle.Tables(0).Rows(0)("Article_content")
            Me.Response.ContentType = "application/msword"
            Me.Response.BinaryWrite(bytBuffer)
            Me.Response.End()
      

  2.   

    我们以前在ASP下时通过写的一个VB组建实现的,但在.NET下不知道怎么用(COM组建当时不是我写的),我看了看以前的代码,和花生的代码很相似,但小弟还是不明白,能请花生详细讲解一下吗