title: issue on displaying integer value to zero when DB value is NULL
body: <p>Hi all I have written the following to display the integer values from database to the gridview column as follows</p>
  
  <pre><code>&lt;asp:TemplateField&gt;
  &lt;ItemTemplate&gt;
  &lt;asp:Label ID="lblTotalReplies" runat="server" Text='&lt;%#Eval("TotalReplies")==System.DBNull ?  "0" : Convert.ToInt16(Eval("TotalReplies")).ToString() %&gt;'&gt;&lt;/asp:Label&gt;&amp;nbsp;&amp;nbsp;Replies&lt;/li&gt;
  &lt;/ItemTemplate&gt;
  &lt;/asp:TemplateField&gt;
  </code></pre>
  
  <p>But I am getting an error as <code>System.DBNull' is a 'type', which is not valid in the given context</code> can some one help me how can I display <code>0</code> when I am having null value in database. I don't want to bind using <code>rowdatabound</code> or some other </p>