title: how convert html string to pdf using c#
body: <p>i have a string variable with html code and need convert to pdf the code of the variable, the variable is filled with the data of one gridview </p>
  
  <pre><code>&lt;div&gt;
  &lt;table&gt;
  &lt;tr&gt;
  &lt;td&gt;Name&lt;/td&gt;
  &lt;td&gt;Cuty&lt;/td&gt;
  &lt;td&gt;Other Row&lt;/td&gt;
  &lt;tr&gt;
  &lt;td&gt;Jonh&lt;/td&gt;
  &lt;td&gt;&lt;/td&gt;
  &lt;td&gt;&lt;/td&gt;
  &lt;tr&gt;
  &lt;tr&gt;
  &lt;td&gt;Name&lt;/td&gt;
  &lt;td style="background-color:#00AA55;"&gt;Mary&lt;/td&gt;
  &lt;td&gt;&lt;/td&gt;
  &lt;td&gt;&lt;/td&gt;
  &lt;tr&gt;
  &lt;/table&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>and i need convert this table in  pdf including the row style. currently use  itext library but don't add the style on the document</p>