Thread was being aborted Error ? In asp.net?

前端 未结 4 1797
失恋的感觉
失恋的感觉 2021-01-15 18:29

In web application, i am using code, to download the documnet which is uploaded, which is written in item command event of datalist, but it s giving error like \"Thread was

4条回答
  •  Happy的楠姐
    2021-01-15 18:47

    The issue is that you're calling Response.End() before Response.Flush(). Swap the order of those statements and the issue will go away.

提交回复
热议问题