在网页中用水晶报表生成EXCEL,读取时出现问题
cgjl 2003-08-22 11:30:54 .......
With myExportOptions
.DestinationOptions = myDiskFileDestinationOptions
.ExportDestinationType = .ExportDestinationType.DiskFile
.ExportFormatType = .ExportFormatType.Excel
End With
myreport.Export()
Response.ClearContent()
Response.ClearHeaders()
Response.ContentType = "application/vnd.ms-excel"
Response.WriteFile(myExportFile)
Response.Flush()
Response.Close()
我用以上程序生成EXCEL文件可以但读取时却是空的,查看服务器上己经生成该文件
在XP下可以读出来,但其他版本为什么读不出来,请问问题出现什么地方?急!!!!!!!