내가 로컬 처리 모드에서 이미지로 내보낼 사용하고 다음 코드는 코드가 잘 작동 여기Asp.net- 보고서 뷰어 수출
Response.Buffer = true;
Response.Clear();
Response.ContentType = mimeType;
Response.AddHeader("content-disposition", "attachment; filename= hi." + "jpeg");
Response.BinaryWrite(byts);
Response.Flush();
Warning[] warnings;
string[] streamids;
string encoding;
string extension;
string mimeType = "image/png";'
string deviceInfo ="<DeviceInfo><OutputFormat>PNG</OutputFormat></DeviceInfo>";
byte[] byts = null;
byts = ReportViewer1.LocalReport.Render("Image", deviceInfo , out mimeType, out encoding, out extension, out streamids, out warnings);
Response.Buffer = true;
Response.Clear();
Response.ContentType = mimeType;
Response.AddHeader("content-disposition", "attachment; filename= hi." + "jpeg");
Response.BinaryWrite(byts);
Response.Flush();
이지만, 그렇지 않습니다 이미지로 전체 보고서를 내보낼, 첫 페이지는 이미지로 내보내는 경우에만, 나는 이미지로 두 번째 페이지를 볼 수없는, 당신이 할 수있는
+1 훌륭한 답변과 훌륭한 조언 – Icarus