Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/asp.net/29.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Asp.net 从html字符串使用iTextsharp生成PDF_Asp.net_Vb.net_Itextsharp - Fatal编程技术网

Asp.net 从html字符串使用iTextsharp生成PDF

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>&nbsp;</td

我有一个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>&nbsp;</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=“