i have a issue in importing bit values in to database using SqlBulkCopy
Creating object of datatable :
tblcsv.Columns.Add("EmailOptOut");
tblcsv.Columns.Add("IsConverted");
Mapping Table column :
objbulk.ColumnMappings.Add("EmailOptOut", "EmailOptOut");
objbulk.ColumnMappings.Add("IsConverted", "IsConverted");
these are the bit column in sql database.when i am trying import,it showing some error
like
"The given value of type String from the data source cannot be converted to type money of the specified bit column"