I have to use a filter on a dataTable, sometimes works with string, some other with Int, so search both with an “or”.
If i try to convert something that cannot be converted (e.g “C1 943657”) the filter gives me errore
What i’m trying to do:
Try Catch to convert a string into Int32
If you can’t, don’t try to convert the string
What’s the issue:
The Try Catch give me an exception when evaluating the Try Stage:
The exception is:
Try Catch: Input string was not in a correct format.