Click here to Skip to main content
15,886,837 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi I am creating a sql table by using datatable column names. And I have data for each column. I am using SQLBulkCopy for copying column values from datatable to sqltable. I have same number of columns in both source and destination with same datatype. But I am getting an exception as The Given ColumnMapping does not match up with any column in the source or destination. And Both the tables have no identity column too. Give me the solution.
Posted

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900