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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top