Can someone please explain me how to handle null values in mvc3 webgrid?
1 Answer
The question is a little vague but I believe you can use the null coalescing operator ??.
This question here shows dealing with a null value using the ternary operator (?:) but I believe it could have been written:
grid.Column("Absend", format: (item) => item.AbsEnd ?? string.Empty)