Hi,
Export data to Excel Problem:
In ExportToExcel() method,i am facing the problem when huge amount of data is there, in excel it is showing "########",
When we double click on that cell it is showing the content.
............................
binded datatable data to gridview
.................................
//int wid = 120;
// //GridView1.Columns["Description"].ItemStyle.Width=wid;
//GridView1.Columns[3].ItemStyle.Width = Unit.Percentage(40);
// GridView1.Columns[3].ItemStyle.Width = Unit.Pixel(40);
GridView1.RenderControl(hw);
//style to format numbers to string
string style = @"<style> .textmode { mso-number-format:\@; } </style>";
Response.Write(style);
Response.Output.Write(sw.ToString());
Response.Flush();
Response.Close();
Response.End();
}
Help me in this problem,or let me know if there is any alternative..
Thanking you..
Export data to Excel Problem:
In ExportToExcel() method,i am facing the problem when huge amount of data is there, in excel it is showing "########",
When we double click on that cell it is showing the content.
............................
binded datatable data to gridview
.................................
//int wid = 120;
// //GridView1.Columns["Description"].ItemStyle.Width=wid;
//GridView1.Columns[3].ItemStyle.Width = Unit.Percentage(40);
// GridView1.Columns[3].ItemStyle.Width = Unit.Pixel(40);
GridView1.RenderControl(hw);
//style to format numbers to string
string style = @"<style> .textmode { mso-number-format:\@; } </style>";
Response.Write(style);
Response.Output.Write(sw.ToString());
Response.Flush();
Response.Close();
Response.End();
}
Help me in this problem,or let me know if there is any alternative..
Thanking you..