Click here to Skip to main content
15,891,717 members

Comments by Amol_27101982, India (Top 60 by date)

Amol_27101982, India 2-Jul-13 5:20am View    
Replace:
FileInfo[] rgFiles = di.GetFiles("*.aspx");
By:
FileInfo[] rgFiles = di.GetFiles(); //This will consider all the files available in that folder.
Amol_27101982, India 2-Jul-13 5:19am View    
Deleted
Replace:
FileInfo[] rgFiles = di.GetFiles("*.aspx");
By:
FileInfo[] rgFiles = di.GetFiles(); //This will consider all the files available in that folder.
Amol_27101982, India 2-Jul-13 5:18am View    
fi.delete(); //to delete a file inside foreach look
Amol_27101982, India 2-Jul-13 5:17am View    
Thanks dude...:)
Amol_27101982, India 1-Jul-13 11:03am View    
Can you try doing the same thing with two different browsers?