2
Answers

Move selected file

Drew Taylor

Drew Taylor

17y
1.8k
1

Why can't I move the selected file in the listbox?


string
selectedFile;

selectedFile = Convert.ToString(listBox1.SelectedItem);

string path = @"G:\Template Markdown files" + selectedFile;          (File location)

string path2 = @"\\at2-r5db\e$\IMPEXP\IMPORT" + selectedFile;  (File should be moved to here)

Answers (2)