MySql Connector .NET MySqlBulkLoader Example
.NET Reflector helped me figure out the follow details:
- the default FieldTerminator is "\t"
- the default LineTerminator is "\n"
- the default FieldQuotationCharacter is '\0'
- the .Load() method both opens and closes the connection
Also, the mySql documentation obviously helped to explain a lot including the "\r\n" Win32 line terminator in my example (I used Excel to export the CSV). The database user in this example needs "insert" permission.
Download the VB.NET, Sql, and CSV files here.
