SqlBulkCopy cannot access table

前端 未结 10 1065
渐次进展
渐次进展 2021-01-07 22:02

After reading in an excel-sheet (to transferTable), I want to add that data to a new table (destinationTable) using SqlBulkCopy, but I\'m getting the error:

         


        
10条回答
  •  时光说笑
    2021-01-07 22:28

    It seems that the user who executes this code don't have proper access to the database. * Check so that the user got access. * Check the connectionstring your using to connect to the database.

提交回复
热议问题