To convert HTML to PDF in C# use ABCpdf.
ABCpdf makescan make use of Microsoft XML Core Services (MSXML)the Gecko or Trident rendering engines, so your HTML table will renderlook the same as it appears in FireFox and Internet Explorer.
There's an on-line demo of ABCpdf at www.abcpdfeditor.com. You could use this to check out how your tables will render first, without needing to download and install software.
For rendering entire web pages you'll need the AddImageUrl or AddImageHtml functions. But if all you want to do is simply add HTML styled text then you could try the AddHtml function, as below:
Doc theDoc = new Doc(); theDoc.FontSize = 72; theDoc.AddHtml("<b>Some HTML styled text</b>"); theDoc.Save(Server.MapPath("docaddhtml.pdf")); theDoc.Clear(); ABCpdf is a commercial software title, however the standard edition can often be obtained for free under special offer.