Professional Documents
Culture Documents
Backup Code
Backup Code
first browse
FolderBrowserDialog dlg = new FolderBrowserDialog();
if(dlg.ShowDialog()==DialogResult.OK)
{
textbox1.Text = dlg.SelectedPath;
btnupdate.Enabled = true;
}
dlg.Title="database restore";
if (dlg.ShowDialog() == DialogResult.OK)
{
textbox2.Text = dlg.FileName;
guna2Button1.Enabled = true;
}
}
catch
{