When I use response.redirect in C# web application at that time show error "Thread being aborted"
and when I get session value from another page that time session contains null value because of error occurs.
how can I resolve this problem?
My code :
try
{
..........
....... ...
Code
..........
.........
Session["dtCSV"] = dtArjunaCSV;
Response.Redirect("ArjunaCSV.aspx");
}
catch(Exception ex)
{
lblErorr.Text="Error :" ex.Tostring();
}