Hello Sir,
Getting this error: System.FormatException: Input string was not in a correct format.
Using below code in emp.aspx to pass Id from gridview.
string url = "~/abc.aspx?ID=" + role + "&Id=" + Server.UrlEncode(Id.ToString());
on page load of abc.aspx webpage using below line of code
Id = Convert.ToInt32(Request.QueryString["Id"]);