How do you map a column in SqlBulkCopy?

 Posted by Nishithraj on 1/29/2010 | Category: Sql Server Interview questions | Views: 3364
Answer:

By the object of SqlBulkCopyColumnMapping class.
Following is a sample

SqlBulkCopyColumnMapping mapColumn1 =         new SqlBulkCopyColumnMapping("EmpID", "ID");


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response