I've got a problem converting an object property to string while using reflection...
string value = Convert.ToString(typeof(T).GetProperty(ValueField).GetValue(data, null));
This throws 'Object does not match target type.' when returning any type other than string?