I have gridview as follows
ID Name Season Actions
14756 Test1 2018 Edit Delete
22089 Test2 2018 Edit Delete
33571 Test3 2018 Edit Delete
17912 Test4 2018 Edit Delete
When i click the edit link button in the first row it will redirect to farmermasterpage but when i click edit link button in the third row it does not redirect to farmermasterpage.
i check the log file the error.
The error shows as Thread was being aborted.
Edit code as follows
if (e.CommandName == "Edit")
{
Response.Redirect("~/ivorycoast/farmermaster.aspx?action=edit&farmercode=" + e.CommandArgument.ToString() + "");
}
Gridview source .aspx page code as follows
|
what is the mistake in my above code. please let me know.
Nanddeep NachanPosted Jun 1, 2018, 1:06 AM