R
rwiegel
I am using the following code to export to excel:
Response.ContentType = "application/ms-excel";
Response.AddHeader("Content-Disposition", "inine;filename=text.xls");
OdbcDataReader reader = cmd.ExecuteReader();
excelGrid.DataSource = reader;
excelGrid.DataBind();
excelGrid.RenderControl(writer);
On a few rows (3 out of 623), I receive an error that the cell data is
too large. A log file is created and the data it was trying to insert
is stored in the log file. The data is all around 980 character (with
spaces). This seems way to small to be the maximum characters allowed
in an excel cell.
Does anybody have any ideas?
Thanks in advance,
Ryan
Response.ContentType = "application/ms-excel";
Response.AddHeader("Content-Disposition", "inine;filename=text.xls");
OdbcDataReader reader = cmd.ExecuteReader();
excelGrid.DataSource = reader;
excelGrid.DataBind();
excelGrid.RenderControl(writer);
On a few rows (3 out of 623), I receive an error that the cell data is
too large. A log file is created and the data it was trying to insert
is stored in the log file. The data is all around 980 character (with
spaces). This seems way to small to be the maximum characters allowed
in an excel cell.
Does anybody have any ideas?
Thanks in advance,
Ryan