set fso=CreateObject("Scripting.FileSystemObject")
response.write Request("FileName")
whichfile=server.mappath(Request("FileName"))
Set thisfile = fso.GetFile(whichfile)
thisfile.Delete True
end if
如果你想在刪除GridView中一行記錄的時候讓系統給出一個提示信息,使得用戶能在確認刪除前能選擇放棄此操作,我認爲最簡單的方法是給GridView增