JDL129
asked on
Message box question in C#
I need to know how to display the information from this code:
string[] strFileName = Directory.GetFiles(InitVar .filePath + "/FTP/", "POS*.TXT");
in a Message box.
Thanks guys,
Jerry
string[] strFileName = Directory.GetFiles(InitVar
in a Message box.
Thanks guys,
Jerry
Do you want to display all the filenames in one box or one by one ?
One by one:
foreach(string fileName in strFileName )
Messagebox.Show(fileName);
One by one:
foreach(string fileName in strFileName )
Messagebox.Show(fileName);
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks for the response!!!
Just what I wanted!!
Jerry
Just what I wanted!!
Jerry
Open in new window