SqlBulkCopy - The given value of type String from the data source cannot be converted to type money of the specified target column

后端 未结 8 1913
慢半拍i
慢半拍i 2020-11-30 03:08

I\'m getting this exception when trying to do an SqlBulkCopy from a DataTable.

Error Message: The given value of type String from the data source cannot be c         


        
8条回答
  •  情书的邮戳
    2020-11-30 03:34

    Make sure that the column values u added in entity class having get set properties also in the same order which is present in target table.

提交回复
热议问题