DataSet does not support System.Nullable<> error
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?
The .NET Framework is not specific to any one programming language; rather, it includes a library of functions that allows developers to rapidly build applications. Several supported languages include C#, VB.NET, C++ or ASP.NET.