var bl = new MySqlBulkLoader(mycon);
bl.TableName = "tblspmaster";
bl.FieldTerminator = ",";
bl.LineTerminator = "\r\n";
bl.FileName = "E://31october//SP//sp_files_sample1//400k sp00 6-19 E.csv";
bl.NumberOfLinesToSkip = 1;
var inserted = bl.Load();
I am using this code to upload a csv file in db but its not throwing any exception and inserted always show zero .
dotnetconnector for mysql is already installed and reference is also added .
Finally i have used this code and its working for me