How come when I write the following line of code it complains, but if I break it out into an if/elseif statement it is fine? Does this mean in .Net I have to break out all statements like this into if/elseif statements?<BR><BR>if IsDBNull(objDataReader("Cmnt_Id")) or objDataReader("Cmnt_Id") = "" then<BR> <BR>Throws error :<BR>Operator is valid for type DBNull and string "" <BR><BR>if IsDBNull(objDataReader("Cmnt_Id")) then<BR><BR><BR>elseif objDataReader("Cmnt_Id") = "" then<BR><BR>This works fine<BR><BR>Thanks in advance