Skip to content

Column with header mismatch exception #10

Closed
@momcina08

Description

@momcina08

Hi, is there any way to somehow make the code not break if the column missmatch with header exception is thrown after we invoke reader.MoveNext()? Or to set some parameters when reader is initialized to maybe ignore the columns that have null values, something like that.
Also if we ignore the exception and continue, iterator doesn't go to next row and never exits the loop with reader.MoveNext(), it just keeps repeating the same row over and over again, only incrementing the ID value.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions