ExcelContentResult.Create method (1 of 2)

namespace: Serenity.Web   assemblySerenity.Net.Web

Creates a FileContentResult containing passed data

public static FileContentResult Create(byte[] data)
parameter description
data Data containing Excel bytes

See Also


ExcelContentResult.Create method (2 of 2)

namespace: Serenity.Web   assemblySerenity.Net.Web

Creates a FileContentResult containing passed data and a download name

public static FileContentResult Create(byte[] data, string downloadName)
parameter description
data Data containing Excel file bytes
downloadName Optional download name

See Also