I want to print a report from a button click. I just don't need (in fact, I don't want) to view the report before printing. Just pass some parameters and send it to printer (doesn't matter if it's with or without a print dialog).
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
Here is a guide from MSDN for doing it with client-side reports: http://msdn.microsoft.com/en-us/library/ms252091%28v=vs.80%29.aspx
and server reports:
http://social.msdn.microsoft.com/Forums/en/sqlreportingservices/thread/25973909-592e-42fc-a454-dadda2604882