How to resolve the error "Unable to Cast Object of type Jvalue to String" or "Message: Syntax error in the selector" ?
- Check if the variable used in selector has apostrophe in it. If yes then replace it with ' or ? or * like (aaname'"+variable.Replace("'","'")+"'")
For example: For name le'Demouir pass either le'Demouir or le?Demouir or le*Demouir