Daily Shaarli
September 6, 2022
Grant Barrington - Using Reflection to Determine whether an Type is Nullable And Get the underlying Type
Anyway... rather than add a field of type "int?" to the DataTable, I needed to add a field of type "int" as a column. Sounded simple... sort of... A fair bit of Googling and pulling together ideas from a couple of different blog posts led me to the following code.