直接用Excel报表设计网页示例提示错误 Post By:2020/4/19 11:31:00 [显示全部帖子]
按照直接用Excel报表设计网页的示例一,当我在
2、将HttpRequest事件代码设置为:
If e.Path.StartsWith("Reports\") e.ResponseEncoding = "gb2312" SelectCase e.Path Case"Reports\ckd.htm" Dim Book As New XLS.Book(ProjectPath & "Attachments\出库单.xls") e.WriteBookAsHTML(Book) Case"Reports\jianli.htm" Dim Book As New XLS.Book(ProjectPath & "Attachments\资料卡.xls") e.WriteBookAsHTML(Book) CaseElse e.AsReportServer("Reports\") EndSelect EndIf