Back to Devexpress

ASPxGridBase.ExportToCsv(Stream) Method

aspnet-devexpress-dot-web-dot-aspxgridbase-dot-exporttocsv-x28-system-dot-io-dot-stream-x29.md

latest1.5 KB
Original Source

ASPxGridBase.ExportToCsv(Stream) Method

Exports the control’s data to the specified stream in CSV format.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
public void ExportToCsv(
    Stream stream
)
vb
Public Sub ExportToCsv(
    stream As Stream
)

Parameters

NameTypeDescription
streamStream

A Stream object, to which the created document is exported.

|

Remarks

This method indirectly calls the PrintingSystemBase.ExportToCsv method of the XtraPrinting Library. If this library is not available the method does nothing. For details on the ExportToCsv method, see the PrintingSystemBase.ExportToCsv topic.

See Also

ASPxGridBase Class

ASPxGridBase Members

DevExpress.Web Namespace