Main.xaml: Cannot implicitly convert type 'int' to 'string'

I start my project with C#.
I want simple output from lookup data table through message box but it gives an error:
Main.xaml: Cannot implicitly convert type ‘int’ to ‘string’
Please give assistance.

@mohammad_zulqarnain

You need to provide the property values with respect to the property types.
In your case the “LookupValue” is of “String” type so you need to give value in double Quotation ie " " but you assigned int 1600131
it should be like this —> LookupValue = “1600131”

thats why you are getting the error, Cannot implicitly convert type ‘int’ to ‘string’
Refer the screeshot for LookupValue : InArgument<“String”>

Untitled

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