private void btnBack_up_Click(object sender, EventArgs e) { FolderBrowserDialog folder = new FolderBrowserDialog(); string Path = null; if (folder.ShowDialog() == System.Windows.Forms.DialogResult.OK) { Path = folder.SelectedPath; } BUS_Admin.BackupDataBase(Path, conStrSettings); MessageBox.Show("Back up Success"); }