I am working on a project in which I have a form through which I can edit a question available in a list view. Whenever I select a row from the list view and click on the \'
Please change your code like below.
int QuestionID; bool IsIntValue = Int32.TryParse("YOUR-VARIABLE", out QuestionID); if (IsIntValue) { // YOUR CODE HERE }
Hope i will be help.