using Syste.IO;
Array.ForEach(Directory.GetFiles(Server.MapPath("..\\StudentImages\\")),
delegate(string path) { File.Delete(path); });
NB.Only change the blue color portion
This site contains information of .NET,Sharepoint,C#,SQL Server,MOSS,WSS,WWF,WCF,WPF,AJAX,Javascript and Adobe Flex.
No comments:
Post a Comment