This topic Handling Null Database Values Using Data Source Controls has now been updated on MSDN to fix the sample based on various customer feedback. You can still see the old version here, in case you're curious to compare both versions.
What has changed:
Take a look and let us know if you think this has improved or if you still think it needs some work!