Re: table null value error
As I was going up the stair
I met a man who wasn't there
He wasn't there again today
Oh how I wish he'd go away!
You do understand what 'null' means, right?
Re: table null value error
If the data came from a database then each null field contains a DBNull object. If all you're doing is displaying the value then you can just call ToString, because DBNull.ToString will yield an empty string, which is appropriate to display for NULL. If you actually want to distinguish between NULL and an actual empty string then you'll need to test whether the value 'Is DBNull.Value' first.