GetDataReaderValue Bug?

Nov 15, 2012 at 2:00 AM

 var value = reader[index];

if value is Null

var type =value.GetType() is null reference

fix   var type = reader.GetFieldType(index);