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?
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?