openFileDialog1.ShowDialog(); strFileName = openFileDialog1.FileName; this.txtBxDB.Text = strFileName;