FAQ ASP.NET/C#
FAQ ASP.NET/C#Consultez toutes les FAQ
Nombre d'auteurs : 39, nombre de questions : 371, dernière mise à jour : 15 juin 2021
MemoryStream m_stream =
new
MemoryStream
(
);
m_stream =
(
MemoryStream)m_report.
ExportToStream
(
CrystalDecisions.
Shared.
ExportFormatType.
Excel);
Response.
Clear
(
);
Response.
Buffer =
true
;
Response.
ContentType =
"application/vnd.ms-excel"
;
Response.
End
(
);
m_report est un état crystal report correctement généré.
MemoryStream m_stream =
new
MemoryStream
(
);
m_stream =
(
MemoryStream)m_report.
ExportToStream
(
CrystalDecisions.
Shared.
ExportFormatType.
PortableDocFormat);
Response.
Clear
(
);
Response.
Buffer =
true
;
Response.
ContentType =
"application/pdf"
;
Response.
End
(
);
m_report est un état crystal report correctement généré.
MemoryStream m_stream =
new
MemoryStream
(
);
m_stream =
(
MemoryStream)m_report.
ExportToStream
(
CrystalDecisions.
Shared.
ExportFormatType.
WordForWindows);
Response.
Clear
(
);
Response.
Buffer =
true
;
Response.
ContentType =
"application/doc"
;
Response.
End
(
);
m_report est un état Crystal Report correctement généré.
MemoryStream m_stream =
new
MemoryStream
(
);
m_stream =
(
MemoryStream)m_report.
ExportToStream
(
CrystalDecisions.
Shared.
ExportFormatType.
RichText);
Response.
Clear
(
);
Response.
Buffer =
true
;
Response.
ContentType =
"application/rtf"
;
Response.
End
(
);
m_report est un état Crystal Report correctement généré.