I have a Session Value that I need to convert to a int before sending to the database. When I use the code below I get an "Input string was not in a correct format." error
int convertKey = Convert.ToInt32(Session["UserKey"]);
Go to the complete details ...