Tuesday, 10 September 2013

How to convert nullable type to its underlying type?

How to convert nullable type to its underlying type?

I had to store data into DataTable for some particular reason and realised
that it does not support nullable types: throws a
System.NotSupportedException: DataSet does not support System.Nullable<>.
Is there a better effective way to convert than enumeration of types and
writing a custom code for every nullable type?

No comments:

Post a Comment