IsNumeric Method giving validation error

IsNumeric Method giving validation error.

Attached screenshot.

@Himanshu.joshi - IsNumeric will return True/False… please convert ToString.
IsNumeric(str).ToString

2 Likes

@Himanshu.joshi
can you check on the imports panel if Microsoft.VisualBasic is added. Otherwise import it

2 Likes

i already did same error

Available

Just for analysis reasons can you check in the message box statement: Microsoft.VisualBasic.IsNumeric(str).toString

2 Likes

can you create a new process and try…

1 Like

Same error on another created process

@ppr @GBK

Resolved this issue used str.IsNumeric

3 Likes

Perfect. Just for Info once this happen again or different. In case of assign is showing a not valid compilation error. Remove the assign. Close reopen Xaml and drag and drop a new assign. We encountered some rare cases where this happened and did solve

2 Likes

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.