I have a datatable with One ColumnName \"CustomerID\" with Integer DataType. Dynamically I want to add rows to the DataTable. For that, I had created one DataRow object like:
First of all, of course, the field needs to be set as nullable in the DB.
And then, set it to DBNull.Value
DBNull.Value