Hi,
Quote:
string[] Filelistarray = Directory.GetFiles(@"C:\Users\a961835\Programming", "*.txt");
The
"GetFiles"
function will return all the files names with full path in the directory. it does not return the file contents. refer
this[
^]
In order to get the contents, read the contents of the file after selecting from the combobox in the selected index changed event and display in the texbox.
refer
How to: Read Text from a File[
^]
hope it helps.