管理项目→项目属性→项目事件→Initialize
For Each dt As DataTable In DataTables dt.GlobalHandler.BeforeAttachFile = TrueNext