MissingMappingAction

  • Thread starter Thread starter Jim Heavey
  • Start date Start date
J

Jim Heavey

If I fill a datatable usin the da.MissingMappingAction=Error, I get an
error. If I change it to da.MissingMappingAction=PassThrough, I get no
errors.

So now I want to know what it is missing. I wrote a little routine which
would print off each column in the table with the following properties:

Column Name
Column Type
Column MaxLength
Column AllowDbNull
Read-only
Unique
AutoIncriment
AutoIncriment Seed
AutoIncriment Step

Usin the MissingMappingAction=PassThrough, I printed the values of these
properties before an after, as the documentation seems to imply it would
add to the dataset those things which are "not correct".

My reveiw of the before an after of these properties suggest that nothing
has changed. So what should I be looking for?

NOTE: I only set the values for Column Name, Column Type and AllowDbNull
properties in code for my table, I let all the others default.

So what am I missing?
 
No new columns...

I thought I could call my table anything that I want? Even if that were to
be the problem, I should find some "additional" table in my Dataset and I
amd not...
 
Back
Top