Suresh Panta

Suresh Panta

  • 2k
  • 96
  • 1.4k

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)