DataTable and NULL values

  • Thread starter Thread starter Peter
  • Start date Start date
P

Peter

Is there a property/method to set the DataTable to allow
System.Convert.DBNull (for certain fields) when inserting
a record?

NOTE: There is only 1 table in this dataset with NO
relations or constraints.

By allowing this, I can test If MyTable("Field") Is
System.Convert.DBNull Then ...

Peter
 
Back
Top