protected void btn_Delete_Click(object sender, EventArgs e)
{
//从config中读取文件上传路径
string strFileUploadPath = ConfigurationManager.AppSettings["FileUploadPath"].ToString();
//从列表框控件中读取选择的文件名
string strFileName = lb_FileList.SelectedValue;
//组合成物理路径
string strFilePhysicalPath = Server.MapPath(strFileUploadPath + strFileName);
//删除文件
(strFilePhysicalPath);
//更新文件列表框控件
lb_FileList.Items.Remove(lb_FileList.Items.FindByText(strFileName));
//更新文件夹信息
InitFolderInfo();
//更新文件描述信息
tb_FileNewName.Text = "";
//更新重命名文本框
lab_FileDescription.Text = "";
//调用自定义方法显示提示
ShowMessageBox("文件成功删除");
}