hi,
i have create folder for d colon, that folder include 5 pdf file here. pdf file name is lb4521.pdf, lb452122.pdf...i split and display only lb452122 how it please reply
if possible pdf file name wise find id from database.
Split file name from folder and find that filename wise id
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Joginder BangerRank #360 · 7K reputationPosted Dec 30, 2014, 2:34 AM EST
string[] filePaths = Directory.GetFiles(@"your folder name"); foreach(string s in filepath) { if(s.contains("452122")==true) { do stuff here... } }