private void brwsbtn_Click(object sender, EventArgs e) { if (openFD.ShowDialog() == DialogResult.OK) { textBox1.Text = openFD.FileName; } textBox1.Text=""; }
new System.IO.FileInfo(openFD.FileName).Directory.ToString()
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)