0

このレポートをレンダリングし、レポート ビューアーなしで実行時に印刷したいのですが、助けてもらえますか?

このコードを試してみると、ローカル レポートの処理中にエラーが発生しました。

string deviceInfo = CreateEMFDeviceInfo(0,0);

string mimeType = null;

string encoding = null;

string fileNameExtension = null;

Warning[] warnings;

var list = localReport.ListRenderingExtensions();

Byte[] bytes = localReport.Render(format, "", out mimeType, out encoding, out fileNameExtension, out stream, out warnings);

fs.Write(bytes, 0, bytes.Length);

fs.Close();
4

0 に答える 0