Using VS 2008 . I am getting this error:
DataSet does not support System.Nullable<>
in this line:
DataTable table = CreateTable<T>();
where T is simple class which has a constructor and some of the constructor paramaters are nullable types. I don't want to change the class.
I am using the CreateTable function in convert a generic list to a datatable.
Is there a generic similar function I can use to convert a generic list to a datatable which works with all types?
Start Free Trial