lamquanthanh999 / excellibrary

Automatically exported from code.google.com/p/excellibrary
1 stars 0 forks source link

Invalid cell value -2146233088 #148

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Dataset consist of values present in attached spreadsheet.
2. ExcelLibrary.DataSetHelper.CreateWorkbook(m, ds); at this it's throwing 
error - Invalid cell value.
3.

What is the expected output? What do you see instead?
Expected output is attached in excel sheet.

What version of the product are you using? On what operating system?
 ExcelLibrary_20110730.zip   50.5 KB

Please provide any additional information below.
using code below
Response.Clear();
Response.ContentType = "application/vnd.ms-excel";
Response.AddHeader("content-disposition", "attachment;filename=file.xls");

DataSet ds = new DataSet("New_DataSet");
... fill dataset ...
MemoryStream m = new MemoryStream();
ExcelLibrary.DataSetHelper.CreateWorkbook(m , ds);
m.WriteTo(Response.OutputStream);
Response.End();

Original issue reported on code.google.com by abhishek...@gmail.com on 2 May 2013 at 1:57

Attachments:

GoogleCodeExporter commented 9 years ago
any help ??

Original comment by abhishek...@gmail.com on 7 May 2013 at 12:36