Calling ToString on Row yeilds incorrect values when DBNull is present

Bug #645867 reported by krystan@gmail.com
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
NDataflow
Confirmed
Low
Unassigned

Bug Description

When ToString is called on DBNull the microsoft implementation reads like so

public string ToString()
{
    return string.Empty;
}

If you try and call ToString on Row to say output the row to the string for values that contain DBNull you will get a "" output, this is clearly incorrect as this value is not the empty string but DBNull.

Can be fixed in FormatValue in Row by taking care of DBNull explicitly.

Phill (phill.l)
Changed in easyetldotnet:
status: New → Confirmed
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.