check for null with HtmlAgilityPack
<p>How do you check for null with HtmlAgilityPack? I'm getting "Property or indexer 'HtmlAgilityPack.HtmlNode.HasChildNodes' cannot be assigned to -- it is read only" with the following.</p>

<pre><code>if (Node.Element("TD").HasChildNodes = DBNull.Value)
</code></pre>

<p>I"m getting "Object reference not set to an instance of an object. " with </p>

<pre><code>if (Node.Element("TD").HasChildNodes)
</code></pre>
