NULL Reference Error
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/4660142/what-is-a-nullreferenceexception-in-net">What is a NullReferenceException in .NET?</a>  </p>
</blockquote>



<p>When i am trying to access value stored in object it shows null reference error when the value is null.How to check for null values???</p>

<pre><code>str = "&lt;html&gt;" + objName.Name + "&lt;/html&gt;"
</code></pre>

<p>Thanks in Advance </p>
