GridViewExtension.WriteXls(GridViewSettings, Object, Stream, XlsExportOptions) Method
Exports the grid’s data to a stream in XLS format with the specified export options.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.2.dll
Declaration
public static void WriteXls(
GridViewSettings settings,
object dataObject,
Stream stream,
XlsExportOptions exportOptions
)
Parameters
Name | Type |
---|---|
settings | GridViewSettings |
dataObject | Object |
stream | Stream |
exportOptions | XlsExportOptions |
See Also