net (c#) and when I try to bind my data to datagrid it is showing some null values in columns (Because there is no data in some columns). But I want to display 0 instead of null in the same column.
how it is possible? Is there any expression?
something like NullDisplayText=”0″ ??
Thanks
It better you handle null values in Sql Queries so that result return does not contain any null values. You can write Sql query for handling Null in this manner
Select isnull(Price,0) from abc