1
Answer

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

Photo of Suresh Panta

Suresh Panta

4y
494
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)