Sometimes while binding record to Gridview we see that some columns are empty for some rows, it happens because GridView displays empty for null value. But if we want to show some Custom data or Images that can be possible using BoundField.
Sometimes developers use
GridView_RowDataBound() to override the
NULL value with proper message. But Instead of overriding the value, we can use NullDisplayText to display proper message when the value for that particular field is
Even we can customize the Text with
HTML Formatting as shown in below.
One more interesting point is, we can also display