private void Page_Load(object sender, System.EventArgs e)
{
// 在此处放置用户代码以初始化页面
if(File.Exists(@"http://localhost/new/2006/08/30/200608306314854.txt"))
{
Response.Write("文件不存在");
}
else
{
File.Delete(@"http://localhost/new/2006/08/30/200608306314854.txt");
Response.Write("<script language=javascript>alert('文件 http://localhost/new/2006/08/30/200608306314854.txt已删除!');</script>");
}
}
{
// 在此处放置用户代码以初始化页面
if(File.Exists(@"http://localhost/new/2006/08/30/200608306314854.txt"))
{
Response.Write("文件不存在");
}
else
{
File.Delete(@"http://localhost/new/2006/08/30/200608306314854.txt");
Response.Write("<script language=javascript>alert('文件 http://localhost/new/2006/08/30/200608306314854.txt已删除!');</script>");
}
}
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货