asp.net - RDLC with subreports(2008) send as attachmentmail -
my problem is: have file print.aspx open report rdlc,
when page overview open report (with button) opens without error. when want open email attachment without subreports.
-i don't know how call print.aspx mail -i don't understand why without subreports -i tried , without filestream
dim arrbyte byte() = localreport.render(reporttype, deviceinfo, mimetype, encoding, filenameextension, streams, warnings) 'if boolismail 'using fs new filestream(strprotname + "." + filenameextension, filemode.create) ' fs.write(arrbyte, 0, arrbyte.length) ' fs.close() 'end using session.add("filename", strprotname + "." + filenameextension) 'else response.clear() response.contenttype = mimetype response.addheader("content-disposition", "attachment; filename=" + strprotname + "." + filenameextension) response.binarywrite(arrbyte) response.end() 'end if
Comments
Post a Comment