1
Answer

how to check the label.text contains the path string or not ?

Suresh Panta

Suresh Panta

4y
472
1
 
l like to check if the label.text does not contain any file directory  
 
string[] strListFile = System.IO.Directory.GetFiles(lblSelectedPath.Text, "*", SearchOption.AllDirectories);
string[] strResultList = new string[] { };
 
 
 
thank you in advance  
Answers (1)