I have a html format string with data loaded from database along with image in the code behind file which i am binding it to aspx pages div from code behind as below
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>"
Can you please let me know how to generate pdf format from the generated html string( i dont wnat to write this string to any .html file externally again) using ITextSharp in asp.net and also it should display the image with the path came in the html along with css.