How to file names with alphanumeric value.

Posted by Sahoo under ASP.NET on 12/1/2012 | Points: 10 | Views : 719 | Status : [Member] | Replies : 1
Hi

I am fetching file names from a folder where all file names are numeric.They are coming as 1,10,11...19,2,20,21.... so on.I expect them to be as 1,2,3,4....9,10,11,12,...19,20,21 ...

I get files by using code DIM File As FileInfo In dir.GetFiles




Responses

Posted by: Sahoo on: 12/1/2012 [Member] Starter | Points: 25

Up
0
Down
How can I sort it if names will be like file1,file2,file3,.....file9,file10,file12,....

Sahoo, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response