Hi sir,
I cant able to redirect to another page, i got the exception as "Thread was being aborted". I handle that
exception using ThreadAbortException , still i cant able to solve this problem. Kindly give me the solution for
this problem.
[Note: I am using stored procedure sp_replace_det_alpha to update 12000 records]
protected void Button1_Click(object sender, EventArgs e)
{
try
{
DataSet ds1 = new DataSet();
db.executenonproce_withoutparams("sp_replace_det_alpha", out ds1);
Response.Redirect("ClientDetails.aspx",false);
}
catch (ThreadAbortException ex1)
{
if (ex1.Message == "Thead was being aborted.")
{
Response.Redirect("ClientDetails.aspx", false);
}
}
}
With regards,
J.Prabu.
[Email:prbspark@gmail.com]