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.[Solved] Column Header not displaying while exporting DataTable to PDF using iTextSharp in ASP.Net<blockquote><cite>JanviDarji says:</cite> <pre><code class="csharp plain">sb.Append(</code><code class="csharp string">"&lt;th style = 'background-color: #D20B0C;color:#ffffff'&gt;"</code><code class="csharp plain">);</code></pre> </blockquote> <p>Remove the color attribute. You have assigned white color. That why its not displaying.</p> <pre class="brush: csharp">sb.Append(&#34;&lt;th style = &#39;background-color: #D20B0C;&#39;&gt;&#34;);</pre> <p>&nbsp;</p>https://www.aspforums.net:443/Threads/938140/Solved-Column-Header-not-displaying-while-exporting-DataTable-to-PDF-using-iTextSharp-in-ASPNet/https://www.aspforums.net:443/Threads/938140/Solved-Column-Header-not-displaying-while-exporting-DataTable-to-PDF-using-iTextSharp-in-ASPNet/Thu, 01 Aug 2019 03:53:44 GMT