How to handle null value while executing the query
<p>suppose there 5 column in my table info(id,loginid,pagename,pagecount,detail).
I am executing the query like, select the pagename when loginid=somthing and id =something.But in column that is pagecount(int) and pagename(varchar),I am not putting any thing ,so it consider as null.When execute the query,result shows the column with null value.Query's result move to else part.How to handle with that null value.</p>

<pre><code>if(table.Rows.count == 0)
{
}
else
{
Actually coding.
}
</code></pre>
