我用C#编写了ASP.NET代码,以删除计算机中的文件,但它没有被删除。请帮助我,谢谢。这是我的代码,在按钮单击事件中编写:
string path = "E:\\sasi\\delt.doc";
FileInfo myfileinf = new FileInfo(path);
myfileinf.Delete();