Schreiben Inhalt der HTML-Tabelle in ein PDF-Dokument mit iTextSharp in asp.net

Ich habe eine HTML-Tabelle, gespeichert in einem string. Ich möchte schreiben, dass der string in ein PDF-Dokument mit iTextSharp-Bibliothek. Bitte schlagen Sie den Ansatz. Unten ist die Tabelle, die ich schreiben möchte in einer PDF-Datei

<table>
<tr>
        <th>test</th><td>&nbsp;&nbsp;</td><td>ABCD</td><td>&nbsp;&nbsp;</td><td>&nbsp;&nbsp;</td><td>&nbsp;&nbsp;</td>
    </tr><tr>
        <th>test 2</th><td>&nbsp;&nbsp;</td><td>XYZ</td><td>&nbsp;&nbsp;</td><td>&nbsp;&nbsp;</td><td>&nbsp;&nbsp;</td>
    </tr>
</table>
InformationsquelleAutor SharpCoder | 2013-07-21
Schreibe einen Kommentar