Exemple #1
0
 private void cmdExport_Click(object sender, EventArgs e)
 {
     try
     {
         MySql.Data.MySqlClient.MySqlBackup mb = new MySql.Data.MySqlClient.MySqlBackup(constr);
         mb.ExportBlobAsFile(txtFolder.Text, cbTable.Text, cbBLOB.Text, cbFileName.Text, cbFileSize.Text);
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.ToString());
         return;
     }
     MessageBox.Show("Files have exported successfully and saved to\r\n\r\n" + txtFolder.Text);
 }