Isolating and displaying imported file names
Posted: Sun Mar 09, 2014 9:30 am
Hi All,
I can import a text file and load its content into an array or Datagrid. Yay me.
BUT... How do I isolate the file name and display it in a label field?
So, if the text file was called "my text file" (they're being saved without the ".txt" extension and I really don't see a need to change that), I would want to have "my text file" displayed in a label just above the datagrid that holds all of the file's contents.
All help appreciated!
I can import a text file and load its content into an array or Datagrid. Yay me.
BUT... How do I isolate the file name and display it in a label field?
So, if the text file was called "my text file" (they're being saved without the ".txt" extension and I really don't see a need to change that), I would want to have "my text file" displayed in a label just above the datagrid that holds all of the file's contents.
All help appreciated!