ASPForums.Net RSS Feedhttp://www.aspforums.net/Handlers/RSS.ashxLatest additions to the content that appears on ASPForums.Net(c) 2019 www.aspforums.com. 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>https://www.aspforums.net:443/Threads/184184/How-to-remove-table-format-in-exported-excel-in-ASPNet/https://www.aspforums.net:443/Threads/184184/How-to-remove-table-format-in-exported-excel-in-ASPNet/Wed, 29 Jun 2016 20:37:36 GMT