title: SqlBulkCopy with Byte[] DataTable column error
body: <p>I have a strongly typed dataset containing a datatable with one of the columns as a byte[] column that I'm trying to insert into a binary(4) database table field.  I'm able to set the byte[] column values without any problems, but I receive the following exception when I run sqlbulkcopy on the datatable:</p>
  
  <p>"The given value of type Int32 from the data source cannot be converted to type binary of the specified target column."</p>
  
  <p>The datatable is a large datatable and the sqlbulkcopy works fine with the datatable and database table minus the byte[]/binary(4) columns.  The following is the code that I've inserted that is breaking SqlBulkCopy using .NET 2.0.</p>
  
  <pre><code>byte[] codeByteArray = GetByteArray();
  dt.byteArrayCol = codeByteArray;
  
  ...
  
  using(SqlBulkCopy bc = new SqlBulkCopy(conn))
  {
      bc.DestinationTableName = dt.TableName;
      bc.WriteToServer(dt);
      bc.Close();
  }
  </code></pre>