Hi,
I want to use C# OpenFileDialog in my Windows Form application. How could I know if no files are selected ? I tried
if (OpenFileDialog.FilesNames.Length == 0)
but it didnt work ...
Could you plz help me.
Thansk in advance.
Shahab.
How to know no file was selected in OpenFileDialog?
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Shahab4 pointsPosted Feb 19, 2013, 12:06 AM EST
Thanks to auto-answer from Csharpcorner :-)