Response.BinaryWrite不接受字符串参数。你必须在那里放一个字节 数组。这可能来自ADODB.Stream,记录集或类似内容。 http://msdn.microsoft.com/library/en...adoobjects.asp 典型用途会看起来像: Response.BinaryWrite(adoStream.Read()) Response.BinaryWrite(adoRecordset.Fields(" FileData")。Value) Response.BinaryWrite(adoField.GetChunk(size)) - 戴夫安德森 未经请求的商业电子邮件将以Response.BinaryWrite does not take a string argument. You must put a bytearray in there. This could come from an ADODB.Stream, recordset, or similar. http://msdn.microsoft.com/library/en...adoobjects.asp Typical uses would look like: Response.BinaryWrite(adoStream.Read())Response.BinaryWrite(adoRecordset.Fields("FileData ").Value)Response.BinaryWrite(adoField.GetChunk(size))--Dave Anderson Unsolicited commercial email will be read at a cost of 这篇关于重定向到PDF文件时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!
09-24 11:10