I have no idea why my code is not executing
Code:
Dim filepath As String = "c"\temp\test.txt"
Dim contentString As String = "attachment; filename=" & """" & filepath & """"
Response.AddHeader("content-disposition", contentString)
Response.WriteFile(filepath)
Response.End()
'this is where it never executed
If File.Exists(filepath) Then
File.Delete(filepath)
End If