I have the same problem :(
MemoryStream WriteToStream()
no way I finished building the excel?
MemoryStream WriteToStream()
{
//Write the stream data of workbook to the root directory
MemoryStream file = new MemoryStream();
hssfworkbook.Write(file);
return file;
}
generate the error in the line: hssfworkbook.Write(file);
constructs the workbook but in the moment of make the write... failure!!no way I finished building the excel?