get folder path winforms

51

get folder path winforms -

string path = Path.GetDirectoryName(OpenFileDialog1.FileName); //output = c:\folder

Comments

Submit
0 Comments