I think you problem is that in fact DBNull. Value == null //is always false The DBNull is a special class for comparisons on values returned from the dB so you actualy need to check for a null condition AND a DBNull. Value if your array contains both.
EDIT: Sorry looking closer at your code you may just need to reverse your OR operation. If o == null your first statement will blow up with your exception. Try: if (o!
= null || o == DBNull. Value).
Not if o == null... – Thomas Levesque Jan 14 '10 at 15:57.
May be such comparison helps if (!o.GetType(). Equals( DBNull. Value ) ) or if (o is DBNull).
The DBNull is a special class for comparisons on values returned from the dB so you actualy need to check for a null condition AND a DBNull. Value if your array contains both. EDIT: Sorry looking closer at your code you may just need to reverse your OR operation.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.