Suresh Panta

Suresh Panta

  • NA
  • 109
  • 3k

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

Mar 2 2021 8:08 AM
 
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)