ASPForums.Net RSS Feed additions to the content that appears on ASPForums.Net(c) 2019 All rights reserved.How to remove table format in exported excel in ASP.Net<p>Hi,&nbsp;the solution to remove the table format is ..</p> <pre class="brush: vb">foreach (DataTable dt in ds.Tables) { var ws = wb.Worksheets.Add(dt.TableName); ws.Cell(1, 1).InsertData(dt.Rows); ws.Columns().AdjustToContents(); }</pre> <p>Hope it does help some of you :)&nbsp;</p> <p>&nbsp;</p>, 29 Jun 2016 20:37:36 GMT