I tried to convert my dataset into excel and download that excel .I got my required excel file.But System.Threading.ThreadAbortException was raised every excel download. Ho
flush the response to the client before response.end()
More about Response.Flush Method
So use the below-mentioned code before response.End();
response.End();
response.Flush();