Asp.net 从html字符串使用iTextsharp生成PDF
我有一个html格式的字符串,其中包含从数据库加载的数据以及代码隐藏文件中的图像,我将其绑定到aspx pages div,如下所示Asp.net 从html字符串使用iTextsharp生成PDF,asp.net,vb.net,itextsharp,Asp.net,Vb.net,Itextsharp,我有一个html格式的字符串,其中包含从数据库加载的数据以及代码隐藏文件中的图像,我将其绑定到aspx pages div,如下所示 Dim pdfstring as string= "< html>< body>< table width='93%' border='0' cellspacing='0' cellpadding='0' style='margin:0px auto;'><tr><td> </td
Dim pdfstring as string= "< html>< body>< table width='93%' border='0' cellspacing='0' cellpadding='0' style='margin:0px auto;'><tr><td> </td></tr><tr><td width=100%' align='left' style='padding:10px 20px; background: #005984; text-align:left;' > <img src='D:\Develop_Duke\ra\PortalDev\Portal\Assets\image\pdfimages\logo.png' border='0'/><br/></tr></table>< /body>< /html>"
Dim pdfstring as string=“