Click here to Skip to main content
13,458,920 members
Rate this:
Please Sign up or sign in to 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 21-Jul-14 11:44am

1 solution

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web03-2016 | 2.8.180323.1 | Last Updated 21 Jul 2014
Copyright © CodeProject, 1999-2018
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100