If dataitem is Null I want to show 0
Null
0
\' runat=\"server\">
I have tried this code and it works well for both null and empty situations :
'<%# (Eval("item")=="" || Eval("item")==null) ? "0" : Eval("item")%>'